Skip to main content

Provides easy Acces to MediaAccount Api

Project description

MediaAccount Python Client

Documentation for the api hier: http://api.media-account.de/

Package found here: https://pypi.org/project/mediaaccount/

Usage

The client supports the python logging-package for detailed information.

Request articles

import datetime
from mediaaccount import MediaAccountClient

apiKey = '123456789'
client = MediaAccountClient(api_key=apiKey)

# raw client
articles, nextlink, count = client.articles('ImportDatum', von = '01.05.2021', bis = '05.08.2021', maxItems=150)
articles, nextPageLink, count = client.articleNext(nextPageLink)

# full request
scroll = client.scroll('ImportDatum', von = '04.08.2021', bis = '05.08.2021', maxItems=1000)
articlesAll = [i[0] for i in scroll]

Development

Publish

    ./publish.sh test     # publish to test
    ./publish.sh prod     # publish to prod

Roadmap

Board: https://github.com/CKrowiorsch/mediaaccount-py/projects/1

  • Integration Api-V3

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

mediaaccount-0.8.14.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

mediaaccount-0.8.14-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file mediaaccount-0.8.14.tar.gz.

File metadata

  • Download URL: mediaaccount-0.8.14.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for mediaaccount-0.8.14.tar.gz
Algorithm Hash digest
SHA256 1e91e80ddfa56bf4cd43fea53cb6e1ceecaddfa8c5b99fcabe58f7dc08ae7044
MD5 1b5c33050f0f626d3768e7ad4654d97e
BLAKE2b-256 d63f87774c6fd4ff2fb20e34459588230b7e4130789c22dfca64fb59a4f60dee

See more details on using hashes here.

Provenance

The following attestation bundles were made for mediaaccount-0.8.14.tar.gz:

Publisher: python-publish.yml on CKrowiorsch/mediaaccount-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mediaaccount-0.8.14-py3-none-any.whl.

File metadata

  • Download URL: mediaaccount-0.8.14-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for mediaaccount-0.8.14-py3-none-any.whl
Algorithm Hash digest
SHA256 605e7e387b989a66cca5efb9bef05523be610536928ab8e75cf71b7af6a1ab57
MD5 1d11eb7d673de34eb8f22787df9b559f
BLAKE2b-256 44eb0865ca304ef1bd9bc747634038e8c6d9ea488926e5daa918ae02c1a9a41e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mediaaccount-0.8.14-py3-none-any.whl:

Publisher: python-publish.yml on CKrowiorsch/mediaaccount-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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