A bot that tweets random York University Digital Library content.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
YUDLbot-desc.query
YUDLbot.py
YUDLbotCat.query
config.py.example

README.md

YUDLbot

Overview

A bot that tweets random York University Digital Library content. You can find implementations at:

If you want use it, you will need to setup the variables outlined in config.py.example and rename it to config.py. For SOLR_DATA you will need to construct a query, and append &fl=PID%2C+mods_titleInfo_title_ms&wt=json&indent=true along with the number of rows you want. For example &rows=100. You can also crib from the example queries in the repo; YUDLbot-desc.query and YUDLbotCat.query.

License

Public Domain