List of all top level domains [closed] - url

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 found a lot of threads explaining how to get the country-codes in two- or three-letter format, but nothing that fits to my task.
I'm heading for a way to get all the top level domains in an array or something. I know there's the CultureInfo class in C# but which could list the country codes. It doesn't include generic TLD, e.g.: "com". Here's the complete list of country codes I found.

The authoritative list of all TLDs: http://www.iana.org/domains/root/db
The Root Zone Database represents the delegation details of top-level domains, including gTLDs such as .com, and country-code TLDs such as .uk.
You can get this as TXT, too (easier to parse): http://data.iana.org/TLD/tlds-alpha-by-domain.txt
Wikipedia also lists all TLDs, but it's not authoritative, of course: List of Internet top-level domains
The Mozilla Foundation maintains a Public Suffix List for effective top-level domains, i.e., those under which you can directly register names (for example .co.uk instead of .uk): http://publicsuffix.org/

I like to use this list (it includes private TLDs): http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat?raw=1. To me it's the most complete list I could find and it's in a plain text format.

Related

Add a Language UILexicon to iOS Custom Keyboard for Predictive Text [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 days ago.
Improve this question
I'm Trying to create a custom iOS keyboard. I used the UILexicon class to provide a basic lexicon of words that requestSupplementaryLexiconWithCompletion: method provides.
But I want to add the Predictive Text to the keyboard as well.
I know that its not possible to create a database of words even if you try with full Effort.
So, I Believe that no one would have done it with their own keyboard. There must be a pre-Created Database of words and I know that.
Even if I find a Database of these words, I don't understand how to provide a Suggestion based on the Previous word.
Could any one Point me to a good and trusted Source that could provide me the results I want and give me a database of the Lexicons of English as well as Other Languages too.
Please even suggest the way to use the Database in the App.

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)

Retrieving city statistics (Any API's or Databases?) [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
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

Reliable source of the ISO4217 table, as web service / XML file? [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 8 months ago.
Improve this question
I am looking for a reliable source of an as complete as possible ISO4217 table. Either as web service or via some REST API; preferably as XML.
I need to maintain a list of currency codes for a program of mine, and a weekly check to a reliable source would be most welcome.
The one and only real, official source is the ISO (Int'l Standards Organization) itself - see here:
https://www.iso.org/standard/64758.html
Unfortunately, they don't typically provide online / webservice based access to their standards...

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