Skip to content

suharshs/piazzaapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

piazzaapi

Python api to access and post data from piazza.

Adapted from https://gist.github.com/alexjlockwood/6797443

piazza_api.py: Allows getting data from a piazza course and writing to file, elasticsearch, or printing to console.

  • --username: The username to login with.
  • --password: The password for the username.
  • --content_id: The id of the desired content.
  • --course_id: The id of the desired course.
  • --start_id: The id to start writing the course data from.
  • --end_id: The id to stop writing the course data at.
  • --data_file: The file to output all course data when content_id is not provided.
  • --elasticsearch_host: If provided will store raw data into elasticsearch.
  • --elasticsearch_index: If provided will write data into this index.
  • --elasticsearch_type: If provided will write data into this type.
  • --raw: Print raw json data. Default is False.

more documentation in the file.

About

Python api to access and post data from piazza.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages