Simon Willison’s Weblog

Subscribe

Is it possible to make API calls without cURL installed?

17th October 2010

My answer to Is it possible to make API calls without cURL installed? on Quora

Yes:

$ python
>>> import urllib, json
>>> json.load(urllib.urlopen("http://reddit.com/.json"))

This is Is it possible to make API calls without cURL installed? by Simon Willison, posted on 17th October 2010.

Next: What does an ideal Django workflow setup look like?

Previous: What is the best way to hire Solr developers?

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe