Skip to main content

A python wrapper for the Podcast Index API (podcastindex.org).

Project description

Build Status codecov

python-podcastindex

A python wrapper for the Podcast Index API (podcastindex.org)

Installation

(coming soon)

Usage

Init the podcast index

import podcastindex

config = {
    "api_key": "YOUR API KEY HERE",
    "api_secret": "YOUR API SECRET HERE"
}

index = podcast_index.init(config)

Search

result = index.search("This American Life")
Click to see sample result!
  {
      "status": "true",
      "feeds": [
          {
              "id": 522613,
              "title": "This American Life",
              "url": "http://feed.thisamericanlife.org/talpodcast",
              "originalUrl": "http://feed.thisamericanlife.org/talpodcast",
              "link": "https://www.thisamericanlife.org",
              "description": "This American Life is a weekly public ...",
              "author": "This American Life",
              "ownerName": "",
              "image": "https://files.thisamericanlife.org/sites/all/themes/thislife/img/tal-name-1400x1400.png",
              "artwork": "https://files.thisamericanlife.org/sites/all/themes/thislife/img/tal-name-1400x1400.png",
              "lastUpdateTime": 1607323495,
              "lastCrawlTime": 1607632436,
              "lastParseTime": 1607323495,
              "lastGoodHttpStatusTime": 1607632436,
              "lastHttpStatus": 200,
              "contentType": "text/xml; charset=UTF-8",
              "itunesId": 201671138,
              "generator": null,
              "language": "en",
              "type": 0,
              "dead": 0,
              "crawlErrors": 0,
              "parseErrors": 0,
              "categories": {
                  "77": "Society",
                  "78": "Culture",
                  "1": "Arts",
                  "55": "News",
                  "59": "Politics"
              },
              "locked": 0,
              "imageUrlHash": 1124696616
          },
          ...
      ],
      "count": 8,
      "query": "This American Life",
      "description": "Found matching feeds."
  }

Contributing

(coming soon)

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

python-podcastindex-1.1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

python_podcastindex-1.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file python-podcastindex-1.1.0.tar.gz.

File metadata

  • Download URL: python-podcastindex-1.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.0

File hashes

Hashes for python-podcastindex-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c4ad35eccb63bf56d44c4334f6f8d63aaab237b53413e838968fcec2b2b6c6ac
MD5 c05a6f6a2950d9dfc58c6660a32a30fc
BLAKE2b-256 e0e7ba3a94f35634cca4676d4a44b442812b706ac43c6875f23bc69787b873ad

See more details on using hashes here.

File details

Details for the file python_podcastindex-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: python_podcastindex-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.0

File hashes

Hashes for python_podcastindex-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c12c7e1db2cd167c7db643eb59419242a6bd41d6cc6554bea6c9ec49bd698c68
MD5 253949c7e605616419be283deba6f6f3
BLAKE2b-256 7ff5ee7ee56c583bbab6b6c4904182c15548ebd290b81b36104649f94a0fc19e

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