{ "info": { "author": "Robert Stein", "author_email": "robert@blueshoe.de", "bugtrack_url": null, "classifiers": [], "description": "=====================\nPython Rest Countries\n=====================\n\nThis is a simple python wrapper for the API of `http://restcountries.eu `.\nIf there are any issues, please use this repository to contact me about it.\n\nInstallation\n------------\n\n pip install python-restcountries\n\n\n\nUsage\n-----\nJust import the API Wrapper and start using it!::\n\n # v1 from restcountries import RestCountryApi as rapi\n from restcountries import RestCountryApiV2 as rapi\n\n def foo(name):\n country_list = rapi.get_countries_by_name('France')\n \n\nThe Country object\n------------------\nThe API returns Country objects or a list of Country objects. Through the country objects one is able to\naccess following attributes.::\n\n country = country_list[0]\n print(country.name)\n France\n\n- top_level_domain\n- alpha2_code\n- alpha3_code\n- currencies\n- capital\n- calling_codes\n- alt_spellings\n- relevance\n- region\n- subregion\n- translations\n- population\n- latlng\n- demonym\n- area\n- gini\n- timezones\n- borders\n- native_name\n- name\n- numeric_code\n- languages\n- flag\n- regional_blocs\n- cioc\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/SteinRobert/python-restcountries/tarball/0.2", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/SteinRobert/python-restcountries", "keywords": "api", "license": "Unlicense", "maintainer": "", "maintainer_email": "", "name": "python-restcountries", "package_url": "https://pypi.org/project/python-restcountries/", "platform": "", "project_url": "https://pypi.org/project/python-restcountries/", "project_urls": { "Download": "https://github.com/SteinRobert/python-restcountries/tarball/0.2", "Homepage": "https://github.com/SteinRobert/python-restcountries" }, "release_url": "https://pypi.org/project/python-restcountries/0.2/", "requires_dist": null, "requires_python": "", "summary": "Python API Wrapper for restcountries.eu", "version": "0.2" }, "last_serial": 3366148, "releases": { "0.1a0": [ { "comment_text": "", "digests": { "md5": "88808a93aa0d02a8f0a44573b093f29d", "sha256": "a483013afb77e918624c12e71ed04d5e1b6ababb51552eeb34cfb9d7f483209f" }, "downloads": -1, "filename": "python-restcountries-0.1a0.tar.gz", "has_sig": false, "md5_digest": "88808a93aa0d02a8f0a44573b093f29d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2900, "upload_time": "2016-09-11T12:32:53", "url": "https://files.pythonhosted.org/packages/37/5b/9cfde9d3c8727825b16339f4e168970e62cee5e3cef826943d6a7f4facf2/python-restcountries-0.1a0.tar.gz" } ], "0.1a1": [ { "comment_text": "", "digests": { "md5": "33f5eea1412877e8b95ff79789935de9", "sha256": "cec0214c40b9d039676691f2cd620cf72961266d21b31172872af06f8943be53" }, "downloads": -1, "filename": "python-restcountries-0.1a1.tar.gz", "has_sig": false, "md5_digest": "33f5eea1412877e8b95ff79789935de9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2896, "upload_time": "2016-09-11T14:04:51", "url": "https://files.pythonhosted.org/packages/4c/f3/fc8b452a321db238313cd7a27f009f9eb57ef0b01dba61690e069b65d666/python-restcountries-0.1a1.tar.gz" } ], "0.1a2": [ { "comment_text": "", "digests": { "md5": "052fae75338915dc437024bdb08b8ae8", "sha256": "2ff7897871c08b1a79c6592ff8841fde0311c39a2053ed6c257bdbd5208c6816" }, "downloads": -1, "filename": "python-restcountries-0.1a2.tar.gz", "has_sig": false, "md5_digest": "052fae75338915dc437024bdb08b8ae8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2896, "upload_time": "2016-09-11T14:07:45", "url": "https://files.pythonhosted.org/packages/b2/a0/47ca4563ff23d145b3c37be78162768a0ad7b50fdd7c62925ffb4018ef6e/python-restcountries-0.1a2.tar.gz" } ], "0.1a3": [ { "comment_text": "", "digests": { "md5": "eb1432d4810ec0720ed2e7c607cc7727", "sha256": "54509df8c15dbc5829e106ee9b6e481e8b304e1c9cc3baf35f44abdfd001f160" }, "downloads": -1, "filename": "python-restcountries-0.1a3.tar.gz", "has_sig": false, "md5_digest": "eb1432d4810ec0720ed2e7c607cc7727", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2921, "upload_time": "2016-09-12T07:54:51", "url": "https://files.pythonhosted.org/packages/47/81/39708651a6ed7dc591a326621c83d4daa0098050a20ccbdaef91ce65a538/python-restcountries-0.1a3.tar.gz" } ], "0.1b1": [ { "comment_text": "", "digests": { "md5": "1de5224d11662b8e6f7c6245c0798307", "sha256": "db62134cb10fcbc17bcf01ad310ee796bcb4d4c46d596d1e3c1645413359dc75" }, "downloads": -1, "filename": "python-restcountries-0.1b1.tar.gz", "has_sig": false, "md5_digest": "1de5224d11662b8e6f7c6245c0798307", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3041, "upload_time": "2017-10-21T14:30:36", "url": "https://files.pythonhosted.org/packages/bc/41/adf8fde3b5157ee21548476670dd40caf3747a647d7625b6784111f7c3dc/python-restcountries-0.1b1.tar.gz" } ], "0.1b2": [ { "comment_text": "", "digests": { "md5": "405664cbaa11185a04c0d0fa4df1a629", "sha256": "9b72aa6ce89ba88369d416505fca4da6be1828a43eb1ecca60ab31c0aa2ac0f5" }, "downloads": -1, "filename": "python-restcountries-0.1b2.tar.gz", "has_sig": false, "md5_digest": "405664cbaa11185a04c0d0fa4df1a629", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3043, "upload_time": "2017-10-22T19:29:26", "url": "https://files.pythonhosted.org/packages/79/d6/11103c3f207e0cf2fef560b0c47aff159465c997f2555b3075bfb26cfa0c/python-restcountries-0.1b2.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "1872e06805fe4c5457ed8abfdc71c34f", "sha256": "c3e7b896409aff59cdd58a5a846058e4c744639cb9c13f887463cb4f64b8ba10" }, "downloads": -1, "filename": "python-restcountries-0.2.tar.gz", "has_sig": false, "md5_digest": "1872e06805fe4c5457ed8abfdc71c34f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3219, "upload_time": "2017-11-26T21:49:44", "url": "https://files.pythonhosted.org/packages/7f/be/507a7ef436ce2f630a772d2873a70e218edf84926b2dce5d4992bb33dce2/python-restcountries-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1872e06805fe4c5457ed8abfdc71c34f", "sha256": "c3e7b896409aff59cdd58a5a846058e4c744639cb9c13f887463cb4f64b8ba10" }, "downloads": -1, "filename": "python-restcountries-0.2.tar.gz", "has_sig": false, "md5_digest": "1872e06805fe4c5457ed8abfdc71c34f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3219, "upload_time": "2017-11-26T21:49:44", "url": "https://files.pythonhosted.org/packages/7f/be/507a7ef436ce2f630a772d2873a70e218edf84926b2dce5d4992bb33dce2/python-restcountries-0.2.tar.gz" } ] }