Retrieving city statistics (Any API's or Databases?) [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
What I am looking to do is retrieving city statistics. Much like the CIA World Factbook. But, I want an API, database or dataset that I can query and get results. Also, I would actually PREFER to use a UIWebView and load a website with those statistics already searched and displayed. Like TheWeatherChannel for instance, I can form a URL with given coordinates. But websites like the CIA World Factbook have a unique two letter code for each country, which are not in a particular format.
Also, I would like to get CITY statistics, this would include:
Population
Crime Rate
Description
Languages Spoken
Transport Systems
Geography
and more! I even had an idea to show the type of plugs that country uses. But, I have no idea how and where to look for information like this.
Please help me out...

You're asking for very generic data sets and APIs, so you may want to being exploring http://en.wikipedia.org/wiki/Open_data, https://explore.data.gov/, and http://www.freebase.com/

A little late and it probably doesn't do city level but
http://data.worldbank.org/developers/data-catalog-api
could also be useful for someone looking for similar stuff and it wasn't mentioned (AFAICS) in the above answer's links.
This data also has a drupal module at
https://drupal.org/project/wbapi

Related

Google Search Data API [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
In google, some searches might bring up some data found by google (For instance, searching "bitcoin price" brings up data on pricing in a little box at the top, as does searching "2 plus 2". Is there a Google API that will fetch just the data pulled up in the box (as in, If this API was given the keyword "Bitcoin", it would return the price but not the links to websites below). Is there such a "data box" API that will work with the Swift Programming Language (It is for an iOS app)?
I couldn't find any previous questions like this, but there may be some, as I don't know the proper terminology (If anyone happens to know the official name of what I called "data boxes", do tell! Also, I apologize for use of the API tag, I just don't know the name of the API I am looking for.
The official name is "OneBox".
The underlying APIs are unavailable and brokered by Google and private data providers. Your best bet is to find the data sources directly and use their API; which will probably involve an exchange of money or other formal agreement.

Is there an API to convert US English (en_US) into UK English (en_GB)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I currently use the Google Translate API (v2) to translate content from US English into various other languages that we support in our software. We then have a process whereby users can submit translation corrections so that we end-up with fairly well-done translations.
We would like to now add support for UK English so that our English-speaking software users in the UK may have a better user experience.
Is there any way to automate the conversion between US English and UK English, or do we just have to manually fix everything?
Don't know of anything automatic. But you could try to identify the most common differences and then search for them.
There is a list here:
http://en.wikipedia.org/wiki/American_and_British_English_spelling_differences
This would at least help with the manual effort.
Here are two tools I have found to do this:
http://www.us2uk.eu/ (dead website)
http://www.infoenglish.net/american-to-british-english/
I haven't tried these on large text blocks, however.
There's another tool which is available:
https://codewordsolver.com/american-british-english-translator (online)
https://github.com/hyperreality/American-British-English-Translator (source code)

Logo Lookup API? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm working on an iOS application where I'd like to be able to display stores with their respective logos. I've spent a while looking for an API that does this and I can't find anything besides XigniteLogos. Unfortunately this is outside of my budget - is there a free solution available?
This is a very interesting question.
My first thought was that you could try doing a Google Image search. I know Google has a service called Goggles which can recognize logos, so searching the other way must be possible using Google.
I did a sample search on Google Images for "General Mills logo" (I guess I am hungry for breakfast right now) and the first result that was returned was from SeekLogo.com
I am not sure what SeekLogo is, or if they have an API, but they may be exactly what you're looking for. If not, you could try a Google images search and use the first result... (Google does have an image search AIP but... it's been deprecated? The announcement of that says that the documentation / community may have solutions which are still supported...)

Content Classification from URL [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Given n number of raw URLs, I'd like to be able to classify them by:
news, blog, photo and video.
An example would be if a link directs a user to a photo, would it be enough to say that the raw link contains file extension for images to be able to classify the raw URL as photo?
As for video, blog and news, it seems it isn't enough to have a set of domains (like http://www.youtube.com) that will classify the raw URLs.
Could classification be done by examining the web content? Or are there any open source tools for this?
The only URLs that may be even somewhat reliably classified, are those that point to a distinct medium (i.e. http://foo.com/foo.jpg is most certainly an image). Otherwise, you must analyze the content of the page.
This can be a bit tricky, as Flash may contain a photo, video, or neither, without providing any searchable clue as to the content of the flash object. With enough effort, this can obviously be overcome (Google does it!), but I'm not aware of any open source resources that provide a library of media-related domains. Such data result from countless programmer-hours of effort -- an effort that typically seeks a return on investment (ROI). Case in point, ClueWeb09 is just a dataset of downloaded pages, used to test search algorithms -- not really sorted or categorized.
"Sometimes no help is the answer."

Car make model dropdown web service [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I once found a slick looking car make/model dropdown menu web service that advertised form helpers for Ruby on Rails, have subsequently been unable to find this again by Googling for it.... Anybody know the service I am talking about?
Edmunds provides this data for free through an API. You just have to sign-up to get an API key.
See documentation here:
http://developer.edmunds.com/api-documentation/vehicle/
Sign-up to get a key here: http://developer.edmunds.com/index.html
One example of making the call (many more examples given on their site):
https://api.edmunds.com/api/vehicle/v2/makes?fmt=json&api_key={your API key}
I was looking for exactly this kind of information for motorcycles. From what I can tell the API does not provide motorcycle data, but it seems to have just about everything for cars - Make, Model, Year, Trim, Style, even Maintenance Schedules.
With the json or xml data, you will have to roll your own drop down menus. Edmunds does provide some premade widgets, but they are pretty specific (e.g. return True Market Value), so there is a good chance they won't have exactly what you need.
http://developer.edmunds.com/widgets_and_apps/index.html
It doesn't include form helpers or anything, but here's a Ruby implementation that uses the KBB database to retrieve make/model info:
http://tektastic.com/2008/03/car-or-auto-make-model-year-database.html
I'd probably cron this outside of the app and update the db from time to time, then use collection_select in the app to construct the dropdowns as normal. You could also adapt it to use ActiveResource for live retrieval, but that seems excessive and perhaps bannable by KBB.

Resources