Skip to main content

An API wrapper for making requests to the XBRL.US Data filings API

Project description

Python Wrapper for the XBRLUS API

This is a library to make requests to the XBRL US API.

See the documentation of the API here

Usage

from xbrluspy import XBRLUSClient, EntityEndpoint

client = XBRLUSClient(
  #get credentials and put them here
  grant_type="password"
)

entity = EntityEndpoint(client)
result = entity.search(
  params={
  "entity.cik": "000031222"
  },
  fields=[
    "entity.id"
  ])
print(result["data"][0]["entity.id"])

Future work

  • Creation of datastructures to obtain type-safe data cleanly
  • Implementation for Cube, Facts and dimension endpoints are incomplete and will be completed the next version.

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

xbrluspy-0.0.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

xbrluspy-0.0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file xbrluspy-0.0.1.tar.gz.

File metadata

  • Download URL: xbrluspy-0.0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for xbrluspy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e8b7f6101ed5313b5e551abd622ba66800c2e155e7da46cd74d24cdf24153f1d
MD5 47abadc525c449a714964694e9e929b5
BLAKE2b-256 13146ee93f3f4938d25bbd86a281fb4ebe0ef6c61a0e6e6b7d3664379b4edd89

See more details on using hashes here.

File details

Details for the file xbrluspy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: xbrluspy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for xbrluspy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d53d46a776c2416c1350b6cfaab65080d0902867081cef5b40d24f59d425a3c
MD5 6de56ad1b902facdc4a7e08708b044e3
BLAKE2b-256 73b787b89d1aaaeac4177d1f38d76ebecdf17ef70c4bb7041597c7ef449d6484

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