Skip to main content

Default template for PDM package

Project description

Gospeed_api

This project provide Gospeed downloader RestAPI full-covered interacting.

Sorry about that I made a mistake about its name. I realized that when I finished version 2.0.4; 🎶It's too Laaaaate~ to Apologiiiiiize~, It's too Laaaaaaaaaaaate🎶

Every function's input and output will get type checking in runtime by using Pydantic.

🎉Async implementation is added in 2.0.0 Version, support both asyncio and trio!🎉.

Please use the latest version.

Because in 2.0.2 there is a bug which handle url query parameter incorrectly, cause invoking delete endpoint to delete task and file failure!

And It's already resolved in the newest version! ☝️🤓

install

gospeed-api package address.

pip install gospeed-api

Usage Example

Every usage example is written in test file, for more detail please take a look: test_index.py

The future improvements were on plan

2025/1/6/

  1. After a few months at the end of development, I'm supposed to rewrite the usage guide. Because recently, when I was trying to write some script based on this library, I could feel there was not enough introduction to make things clear for the user.
  2. Update to version 3.0.0. This major update will create a new implementation with a more intuitive usage experience.

I'm starting achiving these two objectives from the day I wrote above.


2025/2/22/

Now AsyncGospeedClient have an optional init paramter "httpx_async_client" to receive customized async httpx client object to send requests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gospeed_api-2.1.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gospeed_api-2.1.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file gospeed_api-2.1.1.tar.gz.

File metadata

  • Download URL: gospeed_api-2.1.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for gospeed_api-2.1.1.tar.gz
Algorithm Hash digest
SHA256 24122526ecc86207973978693d6937144876c1daef713ea35e77b965a3e7241e
MD5 3c2ecb662e2e2880093e98b6582133e7
BLAKE2b-256 ebb9b7fc5f95b4c4dd6b88401ccc14780a1fe706237d1a5c14f32ae3c162f910

See more details on using hashes here.

File details

Details for the file gospeed_api-2.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for gospeed_api-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7fa9fe129856b881bd371419f9ca5d36a6005fc66677cfdee7f548f48ab9eab4
MD5 41cbf98cb0d35db3cdcfb028359f142a
BLAKE2b-256 7a126dda3a6e53330fec8380e2d8cc616b1d8396722ed8aa340b0bf1b2817aa4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page