Skip to main content

Unofficial python wrapper for Allen's web API.

Project description

AllenPyClient is an unofficial Python wrapper to develop applications integrating Allen’s official web API.

Code Quality PyPi Docs License Followers

⏩ Quick Example

In this example, we will fetch the links of the videos available to us.

main.py

from allen import AllenClient
import os

env = os.environ
user = env['user']
passwd = env['passwd']

client = AllenClient(username=user, password=passwd)
videos = client.get_recorded_videos()
for video in videos:
    link = video.get_link()

    # Print the video link with the subject name and recording date
    print(f'{video.subject_name} ({video.get_recording_date()}) - {link}')

You can also use the library from a command line.

$ allen help
$ allen videos

👩‍🏫 Installation

pip install allen-py-client

📈 Required Python Modules

The list of required python modules can be found in the requirements.txt file.

📜 Documentation

To view the documentation for this project, visit the documentation page.

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

allen-py-client-1.2.101.tar.gz (23.1 kB view hashes)

Uploaded Source

Supported by

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