Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

mitmedialab/MediaCloud-Tag-Explorer

Repository files navigation

MediaCloud Tag Explorer

Small server to let users explore tags in the MediaCloud system. Originally created as an example of how to use the MediaCloud API client in a web app.

Installation

  • install python 3.x
  • pip install -r requirements.txt

Then create a .env or set these two environment variables:

  • CLIFF_URL: url to a CLIFF install
  • MEDIA_CLOUD_API_KEY: your Media Cloud API key

Use

Run this command and then visit localhost:5000 with a web browser

python server.py

Tags

The list of tags is cached locally, in data/mediacloud-tags.json. If you want to fetch updated tags, just delete this file and the server will recreate it for you with fresh data the next time you hit the server in a browser. Be warned - this can take a few minutes.

About

Website you can use to explore MediaCloud tag sets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published