mdeakyne / BbRest

Blackboard REST APIs... for humans?
MIT License
22 stars 6 forks source link

Add argument for custom headers #1

Closed mfisher911 closed 5 years ago

mfisher911 commented 5 years ago

Hi!

My Bb administrator requires me to use a custom user-agent header to access the REST API. This feature adds an optional argument that can contain it, such as:

BbRest(url, key, secret, headers={'user-agent': 'mycode-groups/0.0.1'})

Thanks for the great library and also for the consideration.

mdeakyne commented 5 years ago

Excellent addition. I have a few more after dev con - will push to PyPy by mid week, and post an update here.