/deviantart

A python wrapper for the DeviantArt API

Primary LanguagePythonMIT LicenseMIT

deviantart 0.1.5

'deviantart' is a python package that provides easy access to the deviantart API.

Installation

Installation using pip:

pip install deviantart

Documentation

The documentation for this package can be found under: https://neighbordog.github.io/deviantart/

Basic usage

#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

License

The deviantart python package is licensed under the MIT license.