'new_deviantart' is a python package that provides easy access to the deviantart API.
Installation using pip
:
pip install new_deviantart
The documentation for this package can be found under: https://neighbordog.github.io/deviantart/
#import new_deviantart library
import new_deviantart
#create an API object with your client credentials
da = new_deviantart.Api("YOUR_CLIENT_ID", "YOUR_CLIENT_SECRET")
#fetch daily deviations
dailydeviations = da.browse_dailydeviations()
#loop over daily deviations
for deviation in dailydeviations:
#print deviation title
print deviation.title
#print username of author of deviation
print deviation.author.username
The deviantart python package is licensed under the MIT license.