{"id":18903794,"url":"https://github.com/bububa/pytop","last_synced_at":"2026-04-01T20:36:06.459Z","repository":{"id":1877912,"uuid":"2803412","full_name":"bububa/pyTOP","owner":"bububa","description":"Taobao Open Platform API Python Wrapper","archived":false,"fork":false,"pushed_at":"2018-07-30T04:24:01.000Z","size":1502,"stargazers_count":44,"open_issues_count":3,"forks_count":22,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-23T09:43:06.281Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bububa.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-11-18T15:25:15.000Z","updated_at":"2023-07-18T07:19:43.000Z","dependencies_parsed_at":"2022-09-01T18:40:39.013Z","dependency_job_id":null,"html_url":"https://github.com/bububa/pyTOP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bububa%2FpyTOP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bububa%2FpyTOP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bububa%2FpyTOP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bububa%2FpyTOP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bububa","download_url":"https://codeload.github.com/bububa/pyTOP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223657830,"owners_count":17181024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T09:06:29.759Z","updated_at":"2026-03-27T02:07:04.016Z","avatar_url":"https://github.com/bububa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pyTOP: Taobao Open Platform API python Wrapper\n=========================\n\npyTOP is an ISC Licensed Taobao Open Platform API library, written in Python.\n\n\nFeatures\n--------\n\n- 用户 API\n- 类目 API\n- 商品 API\n- 店铺 API\n- 交易 API\n- 店铺会员管理 API\n- 子账号管理 API\n- 旺旺 API\n- 物流 API\n- 评价 API\n- 收藏夹 API\n- 系统时间 API\n- 分销 API\n- 淘客 API\n- 主动通知业务 API\n- 在线订购 API\n- insight API\n- campaign API\n- Search Crawler\n- Top Keywords Crawler\n\n\nRequirements\n------------\n\n- Requests (https://github.com/kennethreitz/requests)\n- Urllib3 (http://code.google.com/p/urllib3/)\n- Dateutil (http://labix.org/python-dateutil)\n\nInstallation\n------------\n\nTo install pyTOP, simply: ::\n\n   $ pip install pyTOP\n\nOr, if you absolutely must: ::\n   \n   $ easy_install pyTOP\n   \nOr, download the source file and run: ::\n\n   $ python setup.py install\n\n\nUsage\n-----\n\nYou could setup API KEY and APP SECRET in system environment (~/.bash_profile)\n::\n    # TOP ENVIRONMENT\n    TOP_ENVIRONMENT = product # or sandbox\n    # PRODUCT VARS\n    TOP_PRODUCT_API_KEY = 12345678\n    TOP_PRODUCT_APP_SECRET = 9f127588ceb726905e078b64ab88a362\n    TOP_PRODUCT_API_URL = http://gw.api.taobao.com/router/rest\n    # SANDBOX VARS\n    TOP_SANDBOX_API_KEY = 12345678\n    TOP_SANDBOX_APP_SECRET = sandbox8ceb726905e078b64ab88a362\n    TOP_SANDBOX_API_URL = http://gw.api.tbsandbox.com/router/rest\n\n::\n\n    \u003e\u003e\u003e user = User()\n    \u003e\u003e\u003e user.get('bububa')\n    \u003e\u003e\u003e print user\n    \u003cUser: user_id=180018765, uid=520be25d2ae9de5ea1d6a784e67d6edf, nick=bububa, buyer_credit=\u003cUserCredit: level=0, score=0, total_num=0, good_num=0\u003e, seller_credit=\u003cUserCredit: level=0, score=0, total_num=0, good_num=0\u003e, created=2011-11-21 15:11:47, last_visit=2011-11-21 15:12:07, type=C, has_shop=False, is_lightning_consignment=False\u003e\n    ...\n\n\nContribute\n----------\n\n#. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a Contributor Friendly tag for issues that should be ideal for people who are not very familiar with the codebase yet.\n#. Fork `the repository`_ on Github to start making your changes to the **develop** branch (or branch off of it).\n#. Write a test which shows that the bug was fixed or that the feature works as expected.\n#. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS_.\n\n.. _`the repository`: http://github.com/bububa/pyTOP\n.. _AUTHORS: http://github.com/bububa/pyTOP/blob/master/AUTHORS\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbububa%2Fpytop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbububa%2Fpytop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbububa%2Fpytop/lists"}