{ "info": { "author": "c0ding", "author_email": "me@martinsimon.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable" ], "description": "worldcoin is an APACHE licensed library written in Python designed to\r\nprovide a simple to use API for the Worldcoin cryptocurrency.\r\n\r\nMore about Worldcoin:\r\n---------------------\r\n\r\nWorldCoin is designed to be the digital currency of the future. At the\r\nforefront is it\u2019s\u2019 blazing fast speed. Your transaction will be fully\r\nconfirmed in about 60 seconds or less.\r\n\r\nThe major goal is to become the cryptocurrency of choice for merchants\r\nand consumers for their everyday transaction, whether it be a cup of\r\ncoffee or a bigger ticket item. Speed and security makes all of this\r\npossible. Blazing fast speeds make WorldCoin the best way to pay for\r\neveryday transactions. Transactions are fully confirmed in about 60\r\nseconds. Transfer money to your friends and family instantly with just a\r\nfew clicks. WorldCoin is also based on sound money principals which\r\nmakes it the smart choice for wealth preservation. It is designed to\r\nappreciate in value over time, unlike paper currency. This is due to the\r\nfact that only 265 million coins will ever be produced. These advantages\r\nare what makes Worldcoin the leading choice for users.\r\n\r\nInstallation:\r\n-------------\r\n\r\nFrom source use\r\n\r\n::\r\n\r\n $ python setup.py install\r\n\r\nor install from PyPi\r\n\r\n::\r\n\r\n $ pip install worldcoin\r\n\r\nAPI Documentation:\r\n------------------\r\n\r\nThis API can currently retrieve the following stats from\r\n`worldcoinexplorer.com`_ and `CryptoCoin`_:\r\n\r\n.. _worldcoinexplorer.com: http://www.worldcoinexplorer.com/\r\n.. _CryptoCoin: http://www.cryptocoincharts.info\r\n\r\nNetwork:\r\n~~~~~~~~\r\n\r\n- Difficulty:\r\n\r\n::\r\n\r\n >>> import worldcoin\r\n >>> worldcoin.get_difficulty()\r\n 19.12163587\r\n\r\n- Hashrate:\r\n\r\n::\r\n\r\n >>> worldcoin.get_hashrate()\r\n 1643421348\r\n\r\n- Block count:\r\n\r\n::\r\n\r\n >>> worldcoin.block_count()\r\n 1205465\r\n\r\n- Total coins:\r\n\r\n::\r\n\r\n >>> worldcoin.total_coins()\r\n 52455474.3611\r\n\r\n- Block reward:\r\n\r\n::\r\n\r\n >>> worldcoin.reward()\r\n 46.86741576\r\n\r\nBlocks:\r\n~~~~~~~\r\n\r\n- Block hash: [PARAMETER] is optional, should be a block hash or\r\n height. [DEFAULT] equals to last block.\r\n\r\n::\r\n\r\n >>> worldcoin.block_hash(PARAMETER)\r\n {\r\n \"PreviousBlock\": \"\", \r\n \"Hash\": \"1a48c2bf97e0df6d4f03cd5cb0896ef43b04987048fbeb5ab2dc013335e40731\", \r\n \"Transactions\": [\r\n \"0fc36e386282295512aa63d9f5047d9dc305c983394803474cfaa2f99d7e1bd0\"\r\n ], \r\n \"NextBlock\": \"b439caa3baf7e8f6532783ef630ff18293f237da42d3cc8975620d3e3ca96bb3\", \r\n \"Height\": 1, \r\n \"Time\": 1368504801\r\n }\r\n\r\nTransactions:\r\n~~~~~~~~~~~~~\r\n\r\n- Transaction: [PARAMETER] is required and should be a transaction\r\n hash.\r\n\r\n::\r\n\r\n >>> worldcoin.transaction(PARAMETER)\r\n {\r\n \"Inputs\": [], \r\n \"Hash\": \"0fc36e386282295512aa63d9f5047d9dc305c983394803474cfaa2f99d7e1bd0\", \r\n \"Outputs\": [\r\n {\r\n \"Index\": 0, \r\n \"Amount\": 32.0, \r\n \"Address\": \"WYJ142WhSViiCJuUB2JbpbNiCFAuk9B47z\"\r\n }\r\n ], \r\n \"Block\": \"1a48c2bf97e0df6d4f03cd5cb0896ef43b04987048fbeb5ab2dc013335e40731\", \r\n \"Time\": 1368504801\r\n }\r\n\r\nAddresses:\r\n~~~~~~~~~~\r\n\r\n- Address: [PARAMETER] is required and should be an address hash.\r\n\r\n::\r\n\r\n >>> worldcoin.address(PARAMETER)\r\n {\r\n \"RichListRank\": 45011, \r\n \"TotalSent\": 32.0, \r\n \"Balance\": 0.0, \r\n \"Hash\": \"WYJ142WhSViiCJuUB2JbpbNiCFAuk9B47z\", \r\n \"TotalReceived\": 32.0\r\n }\r\n\r\n\r\n- Address/private key generation :\r\n\r\n::\r\n\r\n >>> worldcoin.generate_address()\r\n {\r\n \"address\": \"WmZs8FY7TWpqhNM917zYVLV2QM5RFpvdTC\", \r\n \"private_key\": \"WsSBJ5tfLcoNbNKy8Y1NoQWisub4gDz13DEa8h4ppV6VVWHn28Gx\" \r\n }\r\n\r\nExchanges:\r\n~~~~~~~~~~\r\n\r\n- BTC:\r\n\r\n::\r\n\r\n >>> worldcoin.to_btc()\r\n {\r\n \"latest_trade\": \"2014-04-18 11:23:30\", \r\n \"volume_btc\": \"58.24\", \r\n \"price\": \"0.00009061\", \r\n \"price_before_24h\": \"0.00008404\", \r\n \"volume_first\": \"624421.07441386\", \r\n \"best_market\": \"cryptsy\", \r\n \"volume_second\": \"58.2372003281511\", \r\n \"id\": \"wdc/btc\"\r\n }\r\n\r\n- LTC:\r\n\r\n::\r\n\r\n >>> worldcoin.to_ltc()\r\n {\r\n \"latest_trade\": \"2014-04-22 21:18:55\", \r\n \"volume_btc\": \"2.13\", \r\n \"price\": \"0.00335412\", \r\n \"price_before_24h\": \"0.00340005\", \r\n \"volume_first\": \"25139.6915261745\", \r\n \"best_market\": \"cryptsy\", \r\n \"volume_second\": \"84.9153636898845\", \r\n \"id\": \"wdc/ltc\"\r\n }\r\n\r\n\r\n- USD:\r\n\r\n::\r\n\r\n >>> worldcoin.to_usd()\r\n {\r\n \"latest_trade\": \"2014-04-18 14:41:33\", \r\n \"volume_btc\": \"0.04\", \r\n \"price\": \"0.05500000\", \r\n \"price_before_24h\": \"0.05799300\", \r\n \"volume_first\": \"391.214920043945\", \r\n \"best_market\": \"crypto-trade\", \r\n \"volume_second\": \"21.4769533276558\", \r\n \"id\": \"wdc/usd\"\r\n }\r\n\r\nLicense:\r\n--------\r\n\r\n::\r\n\r\n Apache v2.0 License\r\n Copyright 2014 Martin Simon\r\n\r\n Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n\r\nUseful links:\r\n-------------\r\n\r\n- `Worldcoin Alliance`_\r\n- `Worldcoin Forum`_\r\n- `worldcoinexplorer.com`_\r\n- `Worldcoin Wiki`_\r\n\r\n.. _Worldcoin Alliance: http://www.worldcoinalliance.net/\r\n.. _Worldcoin Forum: http://worldcoinforum.org/\r\n.. _worldcoinexplorer.com: http://www.worldcoinexplorer.com/\r\n.. _Worldcoin Wiki: http://www.wdcwiki.org/wiki/Main_Page\r\n\r\nBuy me a coffee?\r\n----------------\r\n\r\nIf you feel like buying me a coffee (or a beer?), donations are welcome:\r\n\r\n::\r\n\r\n WDC : WbcWJzVD8yXt3yLnnkCZtwQo4YgSUdELkj\r\n HBN : F2Zs4igv8r4oJJzh4sh4bGmeqoUxLQHPki\r\n DOGE: DRBkryyau5CMxpBzVmrBAjK6dVdMZSBsuS", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/mrsmn/worldcoin-api/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mrsmn/worldcoin-api", "keywords": "WDC,Worldcoin,LTC,Litecoin,BTC,Bitcoin,DOGE,Dogecoin,HBN,Hobonickels,cryptocurrency,API", "license": "Apache v2.0 License", "maintainer": "", "maintainer_email": "", "name": "worldcoin", "package_url": "https://pypi.org/project/worldcoin/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/worldcoin/", "project_urls": { "Download": "https://github.com/mrsmn/worldcoin-api/archive/master.zip", "Homepage": "https://github.com/mrsmn/worldcoin-api" }, "release_url": "https://pypi.org/project/worldcoin/1.0.2/", "requires_dist": null, "requires_python": null, "summary": "Python API for the Worldcoin cryptocurrency.", "version": "1.0.2" }, "last_serial": 3548607, "releases": { "(latest release)": [], "0.5": [ { "comment_text": "", "digests": { "md5": "bacfc9027893b0291ea66e2fc996a202", "sha256": "fa1b5bc5b5cfa615881c0e086aaa73238878f73a2b0960ac6d09024d94338ec4" }, "downloads": -1, "filename": "worldcoin-0.5.tar.gz", "has_sig": false, "md5_digest": "bacfc9027893b0291ea66e2fc996a202", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4889, "upload_time": "2014-04-18T22:21:05", "url": "https://files.pythonhosted.org/packages/5e/1b/bb4893616697b806612651c1774318ac38fe9544e8c6ba14c7eb389312e6/worldcoin-0.5.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "bb3d2d3f011eed48ac46c100942da360", "sha256": "1e0ff17c64e4b25f41d3e0610bf9138a2a5fba36fd817dd080bd3ad5753b7895" }, "downloads": -1, "filename": "worldcoin-0.5.1.tar.gz", "has_sig": false, "md5_digest": "bb3d2d3f011eed48ac46c100942da360", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5373, "upload_time": "2014-04-21T03:22:57", "url": "https://files.pythonhosted.org/packages/6d/3d/f5e370509f3afab6227831c3ee3f87c1fc795f9dd2b8db21cdb1fb3c6f59/worldcoin-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "a9908faac16e10650b399571e177173c", "sha256": "de52357faf537fe1fd4f4c626c16a1702d4834695552331e12858472d4987f73" }, "downloads": -1, "filename": "worldcoin-0.5.2.tar.gz", "has_sig": false, "md5_digest": "a9908faac16e10650b399571e177173c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5522, "upload_time": "2014-04-22T00:53:56", "url": "https://files.pythonhosted.org/packages/54/84/1c45df581d3a799ddc2b5e797f3a6af7cc105b35ca142d702e8037482dd8/worldcoin-0.5.2.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "708248fc2dfff1c4ab3b3c9d6bda2942", "sha256": "42d5b2a1f8cc46b22928d77293cfa20c3225ea26cb179f0ca945832cb8df3f06" }, "downloads": -1, "filename": "worldcoin-0.6.tar.gz", "has_sig": false, "md5_digest": "708248fc2dfff1c4ab3b3c9d6bda2942", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5658, "upload_time": "2014-04-23T01:32:05", "url": "https://files.pythonhosted.org/packages/04/e8/a02d50f7b3daae35fd47da4086ba90b6fd725f0f937780797d5f939a8581/worldcoin-0.6.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "e3b976c3361257859dda83939f0ec678", "sha256": "e00bcd9d141a4df83e5d96d45db17419c9bccba74b1222891da34f0ef144d8cd" }, "downloads": -1, "filename": "worldcoin-1.0.tar.gz", "has_sig": false, "md5_digest": "e3b976c3361257859dda83939f0ec678", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7839, "upload_time": "2014-04-27T05:24:27", "url": "https://files.pythonhosted.org/packages/b9/fc/2049eb1bc39eb3f4361afeefa0889f3a61bd47ed63b0eb8ab0925a4db3ab/worldcoin-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "e3fb57b3525233259acc552b7104ceb0", "sha256": "856cae77187f56286296b26c14bef7fe00a6be98f805a7f0413ff4b2d7bf4cc2" }, "downloads": -1, "filename": "worldcoin-1.0.1.tar.gz", "has_sig": false, "md5_digest": "e3fb57b3525233259acc552b7104ceb0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7784, "upload_time": "2014-04-29T21:19:02", "url": "https://files.pythonhosted.org/packages/ce/3c/c10e1645da0abc61b008eb0eb911aa95077fcd9555ed436ea5cb6b19e735/worldcoin-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "b9065c013d4ab65d8c7f9bed2670377e", "sha256": "ca170288a3bf5494b945ba6f479a2fa9b51fea7b9564260859895a47ff926a20" }, "downloads": -1, "filename": "worldcoin-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b9065c013d4ab65d8c7f9bed2670377e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7968, "upload_time": "2014-12-02T13:16:09", "url": "https://files.pythonhosted.org/packages/f0/5a/9d1b44b8cfeff8ee7c2549d9774079ecaf134e8bc743f3a0b30740bc04a4/worldcoin-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b9065c013d4ab65d8c7f9bed2670377e", "sha256": "ca170288a3bf5494b945ba6f479a2fa9b51fea7b9564260859895a47ff926a20" }, "downloads": -1, "filename": "worldcoin-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b9065c013d4ab65d8c7f9bed2670377e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7968, "upload_time": "2014-12-02T13:16:09", "url": "https://files.pythonhosted.org/packages/f0/5a/9d1b44b8cfeff8ee7c2549d9774079ecaf134e8bc743f3a0b30740bc04a4/worldcoin-1.0.2.tar.gz" } ] }