All Projects → hfaran → Piazza Api

hfaran / Piazza Api

Licence: mit
Unofficial Client for Piazza's Internal API

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Piazza Api

Pyetrade
Python E-Trade API Wrapper
Stars: ✭ 120 (-19.46%)
Mutual labels:  api-client
Messaging Apis
Messaging APIs for multi-platform
Stars: ✭ 1,754 (+1077.18%)
Mutual labels:  api-client
Dropbox api
Ruby client library for Dropbox API v2
Stars: ✭ 142 (-4.7%)
Mutual labels:  api-client
Pykrakenapi
A python implementation of the Kraken API.
Stars: ✭ 124 (-16.78%)
Mutual labels:  api-client
Redmine Net Api
.Net API for Redmine bug/task management systems.
Stars: ✭ 131 (-12.08%)
Mutual labels:  api-client
Netsuite Php
NetSuite PHP API Client with namespaces and autoloading
Stars: ✭ 136 (-8.72%)
Mutual labels:  api-client
Trakt.py
Python interface for the Trakt.tv API
Stars: ✭ 117 (-21.48%)
Mutual labels:  api-client
Mega.py
Python library for the https://mega.nz/ API.
Stars: ✭ 145 (-2.68%)
Mutual labels:  api-client
Vsphere Automation Sdk Java
Java samples, language bindings, and API reference documentation for vSphere, VMC, and NSX-T using the VMware REST API
Stars: ✭ 132 (-11.41%)
Mutual labels:  api-client
Chorale
Chorale is a set of tools for interacting with Notion and Notion content.
Stars: ✭ 140 (-6.04%)
Mutual labels:  api-client
Anyapi
AnyAPI is a library that helps you to write any API wrappers with ease and in pythonic way.
Stars: ✭ 126 (-15.44%)
Mutual labels:  api-client
Bigcommerce Api Php
Connect PHP applications with the Bigcommerce Platform
Stars: ✭ 128 (-14.09%)
Mutual labels:  api-client
Laravel Api Explorer
API explorer for laravel applications
Stars: ✭ 138 (-7.38%)
Mutual labels:  api-client
Kraken Php
Official Kraken.io library for PHP - https://kraken.io
Stars: ✭ 121 (-18.79%)
Mutual labels:  api-client
Virustotalnet
A full implementation of the VirusTotal 2.0 API
Stars: ✭ 142 (-4.7%)
Mutual labels:  api-client
Tik4net
Manage mikrotik routers with .NET C# code via ADO.NET like API or enjoy O/R mapper like highlevel api.
Stars: ✭ 118 (-20.81%)
Mutual labels:  api-client
Pynynab
a python client for the new YNAB
Stars: ✭ 133 (-10.74%)
Mutual labels:  api-client
Algoliasearch Client Go
⚡️ A fully-featured and blazing-fast Go API client to interact with Algolia.
Stars: ✭ 147 (-1.34%)
Mutual labels:  api-client
Thehive4py
Python API Client for TheHive
Stars: ✭ 143 (-4.03%)
Mutual labels:  api-client
Mockbin
Mock, Test & Track HTTP Requests and Response for Microservices
Stars: ✭ 1,782 (+1095.97%)
Mutual labels:  api-client

piazza-api

PyPI version

Unofficial Client for Piazza's Internal API

Usage

>>> from piazza_api import Piazza
>>> p = Piazza()
>>> p.user_login()
Email: ...
Password: ...

>>> user_profile = p.get_user_profile()

>>> eece210 = p.network("hl5qm84dl4t3x2")

>>> eece210.get_post(100)
...

>>> posts = eece210.iter_all_posts(limit=10)
>>> for post in posts:
...     do_awesome_thing(post)

>>> users = eece210.get_users(["userid1", "userid2"])
>>> all_users = eece210.get_all_users()

Above are some examples to get started; more in the documentation (which is coming soon; but the code is all Sphinx-style documented and is fairly readable).

You can also use the "internal" PiazzaRPC class which maps more directly to Piazza's API itself but is not as nice and as intuitive to use as the Piazza class abstraction.

>>> from piazza_api.rpc import PiazzaRPC
>>> p = PiazzaRPC("hl5qm84dl4t3x2")
>>> p.user_login()
Email: ...
Password: ...
>>> p.content_get(181)
...
>>> p.add_students(["[email protected]", "[email protected]"])
...

Installation

You've seen this before and you'll see it again.

# The easy way
pip install piazza-api
# The developer way
git clone https://github.com/hfaran/piazza-api
cd piazza-api
python setup.py develop

Contribute

License

This project is licensed under the MIT License.

Disclaimer

This is not an official API. I am not affiliated with Piazza Technologies Inc. in any way, and am not responsible for any damage that could be done with it. Use it at your own risk.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].