'deviantart' is a python package that provides easy access to the deviantart API.
Installation using pip
:
pip install deviantart
The documentation for this package can be found under: https://neighbordog.github.io/deviantart/
#import deviantart library
import deviantart
#create an API object with your client credentials
da = 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.