Skip to main content
Help us improve Python packaging – donate today!

Livefyre Python utility classes

Project Description

Livefyre Python Utility Classes

Works with Python versions: 2.6, 2.7, 3.2, 3.3

Installation

pip install livefyre

Usage

Creating tokens:

User auth token:

network = Network(network_name, network_key) network.build_user_auth_token(user_id, display_name, expires)

Collection meta token:

network = Network(network_name, network_key) site = network.Site(site_id, site_key) site.build_collection_token(title, article_id, url, tags)

To validate a Livefyre token:

network = Network(network_name, network_key) network.validate_livefyre_token(token)

To send Livefyre a user sync url and then have Livefyre pull user data from that url:

network = Network(network_name, network_key)

network.set_user_sync_url(‘http://thisisa.test.url/{id}/’‘) network.sync_user(system)

To retrieve content collection data as a tuple:

network = Network(network_name, network_key) site = network.get_site(site_id, site_secret) site.get_collection_content(article_id)

License

MIT

Release history Release notifications

History Node

2.0.3

History Node

2.0.2

History Node

2.0.1

History Node

1.3.2

History Node

1.3.1

History Node

1.3.0

History Node

1.1.4

History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.1.0

History Node

1.0.2

History Node

1.0.1

This version
History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
livefyre-1.0.0.macosx-10.9-x86_64.exe (66.9 kB) Copy SHA256 hash SHA256 Windows Installer any Mar 19, 2014
livefyre-1.0.0.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None Mar 19, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page