Skip to main content

filoo-sdk

Official Python SDK for the Filoo URL shortener API.

Install

pip install filoo-sdk

Quick start

from filoo import Filoo
import os

with Filoo(api_key=os.environ["FILOO_KEY"]) as filoo:
    link = filoo.links.create(
        destination="https://example.com/long-url",
        username="myname",
        slug="campaign-1",
    )
    print(link["short_url"])  # → https://filoo.app/myname/campaign-1

Available methods

  • filoo.me()
  • filoo.usage()
  • filoo.usernames()
  • filoo.links.create(destination, ...)
  • filoo.links.list(limit=, cursor=)
  • filoo.links.get(code)
  • filoo.links.update(code, **fields)
  • filoo.links.delete(code)
  • filoo.links.stats(code)

Tier requirement

The Filoo API is available on Pro (€9/month, 100 req/min) and Agents (€29/month, 1000 req/min) plans. Get a key at filoo.app/dashboard/api-keys.

Errors

FilooError is raised on non-2xx responses. Check error.status and error.body.

from filoo import Filoo, FilooError

try:
    filoo.links.create(destination="...")
except FilooError as e:
    if e.status == 429:
        print("Rate limited, retry later")

License

MIT

Metadata

Release files for filoo-sdk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for filoo-sdk 0.1.0
File Size Uploaded Provenance Actions
filoo_sdk-0.1.0.tar.gz 2.4 kB Without provenance Details for filoo_sdk-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for filoo-sdk 0.1.0
File Interpreter ABI Platform Actions
filoo_sdk-0.1.0-py3-none-any.whl Python 3 none any Details for filoo_sdk-0.1.0-py3-none-any.whl

Total release size: 5.2 kB

Release files / filoo_sdk-0.1.0.tar.gz

Download URL filoo_sdk-0.1.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e58dc7967078e4b566bfcccec130430d19d1812eb464c02bb8d0033d811edbff
BLAKE2b-256 checksum
How to use checksums
0cddcb7200e538bc39ae7f301fee96097f6220e67a017397e33bb69308450dfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / filoo_sdk-0.1.0-py3-none-any.whl

Download URL filoo_sdk-0.1.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e52f777f2e35d5f4b9fba3d708f39ef85e198ea1917029a59fc492366bed003d
BLAKE2b-256 checksum
How to use checksums
15c7e60d3a107366013781e0486918d8e34e39635a38d3afeb51ddfcfa84d18b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for filoo-sdk 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page