{"id":37064815,"url":"https://github.com/sergioteula/python-aliexpress-api","last_synced_at":"2026-01-14T07:34:46.951Z","repository":{"id":41404306,"uuid":"315909729","full_name":"sergioteula/python-aliexpress-api","owner":"sergioteula","description":"AliExpress API wrapper for Python 🧧","archived":false,"fork":false,"pushed_at":"2024-12-20T21:45:02.000Z","size":56,"stargazers_count":122,"open_issues_count":16,"forks_count":35,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-12-05T07:44:38.440Z","etag":null,"topics":["affiliate","aliexpress","api-wrapper","hacktoberfest","python","python-aliexpress-api","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sergioteula.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2020-11-25T10:51:02.000Z","updated_at":"2025-11-17T09:14:26.000Z","dependencies_parsed_at":"2022-08-25T13:30:39.515Z","dependency_job_id":null,"html_url":"https://github.com/sergioteula/python-aliexpress-api","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/sergioteula/python-aliexpress-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioteula%2Fpython-aliexpress-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioteula%2Fpython-aliexpress-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioteula%2Fpython-aliexpress-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioteula%2Fpython-aliexpress-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergioteula","download_url":"https://codeload.github.com/sergioteula/python-aliexpress-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioteula%2Fpython-aliexpress-api/sbom","scorecard":{"id":812539,"data":{"date":"2025-08-11","repo":{"name":"github.com/sergioteula/python-aliexpress-api","commit":"a07eaee083e19173ace5970150e37155a0e3b4a2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.6,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 2/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/sergioteula/python-aliexpress-api/python-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/sergioteula/python-aliexpress-api/python-publish.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python-publish.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/sergioteula/python-aliexpress-api/python-publish.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:26","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:27","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/python-publish.yml:11"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T13:30:26.952Z","repository_id":41404306,"created_at":"2025-08-23T13:30:26.952Z","updated_at":"2025-08-23T13:30:26.952Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["affiliate","aliexpress","api-wrapper","hacktoberfest","python","python-aliexpress-api","python3"],"created_at":"2026-01-14T07:34:46.393Z","updated_at":"2026-01-14T07:34:46.943Z","avatar_url":"https://github.com/sergioteula.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AliExpress API wrapper for Python\n\nA simple Python wrapper for the [AliExpress Open Platform API](https://developers.aliexpress.com/en). This module allows getting information and affiliate links from AliExpress using the official API in an easier way.\n\n[![PyPI](https://img.shields.io/pypi/v/python-aliexpress-api?color=%231182C2\u0026label=PyPI)](https://pypi.org/project/python-aliexpress-api/)\n[![Python](https://img.shields.io/badge/Python-\u003e3.6-%23FFD140)](https://www.python.org/)\n[![License](https://img.shields.io/badge/License-MIT-%23e83633)](https://github.com/sergioteula/python-aliexpress-api/blob/master/LICENSE)\n[![Support](https://img.shields.io/badge/Support-Good-brightgreen)](https://github.com/sergioteula/python-aliexpress-api/issues)\n\n## Features\n\n- Object oriented interface for simple usage.\n- Requests follow the [official documentation](https://developers.aliexpress.com/en/doc.htm?docId=45803\u0026docType=2).\n- Ask for new features through the [issues](https://github.com/sergioteula/python-aliexpress-api/issues) section.\n- Join our [Telegram group](https://t.me/PythonAliExpressAPI) for support or development.\n\n## Installation\n\nYou can install or upgrade the module with:\n\n    pip install python-aliexpress-api --upgrade\n\n## Usage guide\n\n**Import and initialize the API:**\n\n```python\nfrom aliexpress_api import AliexpressApi, models\naliexpress = AliexpressApi(KEY, SECRET, models.Language.EN, models.Currency.EUR, TRACKING_ID)\n```\n\n**Get products information:**\n\n```python\nproducts = aliexpress.get_products_details(['1000006468625', 'https://aliexpress.com/item/1005003091506814.html'])\nprint(products[0].product_title, products[1].target_sale_price)\n```\n\n**Get affiliate link:**\n\n```python\naffiliate_links = aliexpress.get_affiliate_links('https://aliexpress.com/item/1005003091506814.html')\nprint(affiliate_links[0].promotion_link)\n```\n\n**Get products:**\n\n```python\nresponse = aliexpress.get_products(keywords='bluetooth earphones', max_sale_price=3000)\nprint(response.products[0].product_title)\n```\n\n**Get hotproducts:**\n\n```python\nresponse = aliexpress.get_hotproducts(keywords='bluetooth earphones', max_sale_price=3000)\nprint(response.products[0].product_main_image_url)\n```\n\n**Get categories:**\n\n```python\nparent_categories = aliexpress.get_parent_categories()\nchild_categories = aliexpress.get_child_categories(parent_categories[0].category_id)\n```\n\n## License\n\nCopyright © 2020 Sergio Abad. See [license](https://github.com/sergioteula/python-aliexpress-api/blob/master/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergioteula%2Fpython-aliexpress-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergioteula%2Fpython-aliexpress-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergioteula%2Fpython-aliexpress-api/lists"}