Archive

Posts Tagged ‘api’

Wikipedia APIs for bots

December 18, 2012 1 comment
Categories: Uncategorized Tags: , ,

GitHub: contact watchers

September 7, 2011 Leave a comment

Problem
You want to contact all the watchers of a project. For instance, you want to notify them about some radical changes.

Solution
Simply click on the “Eye” icon that shows the number of watchers. It will list your followers.

Or, you can get the list of watchers through an API:

curl http://github.com/api/v2/json/repos/show/USERNAME/REPONAME/watchers?full=1 | python -mjson.tool

More info about the Repositories API: here. General information about the APIs: here.

Categories: Uncategorized Tags: , , , ,

API news at ProgrammableWeb

April 6, 2011 1 comment

ProgrammableWeb keeps you up to date with APIs, mashups and the Web as platform.

ProgrammableWeb gets you the latest on what’s new and interesting with mashups, Web 2.0 APIs, and the Web as Platform. It’s a directory, a news source, a reference guide, a community.

Links

Related

If you want to make a mashup, you need some data first. This post (30 Resources to Find the Data You Need) gives some idea where to start gathering your data to work with.

Categories: web Tags: , ,

Download financial data using the Yahoo API

December 13, 2010 1 comment

Problem

If you want to consult financial information, Yahoo! Finance is a good site for that. For instance, to get info about Microsoft’s shares, just visit http://finance.yahoo.com/q?s=msft&ql=1. There, in the bottom right corner in the Toolbox section, you can find a link “Download Data”.

But is there another way to get financial data? Is there a Yahoo API for this?

Solution

The answer to the previous question is: yes, there is. Visit http://www.gummy-stuff.org/Yahoo-data.htm for a detailed presentation of the API.

Example:


http://finance.yahoo.com/d/quotes.csv?s=MSFT&f=nl1px

Here we ask stock information about the shares of Microsoft. Their stock code is “MSFT”. We pass four parameters: n – stock name, l1 – current price, p – price at the previous close, x – stock exchange. The data is returned as a text file in .csv format:

"Microsoft Corpora",27.245,27.34,"NasdaqNM"

Special tags:

At http://www.gummy-stuff.org/Yahoo-data.htm, you can find a table with all the special tags. I collected them here, in a single link: copy link (see the link in the status bar).

This can help you to choose the parameters that you really need.

Categories: finance Tags: , , , ,
Follow

Get every new post delivered to your Inbox.

Join 73 other followers