| Copyright | Matthew Harm Bekkema 2017 |
|---|---|
| License | GPL-3 |
| Maintainer | mbekkema97@gmail.com |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
MyAnimeList.Export
Description
Documentation
Represents a media type supported by MyAnimeList
Instances
| Enum MediaType Source # | |
Defined in MyAnimeList.Export Methods succ :: MediaType -> MediaType # pred :: MediaType -> MediaType # fromEnum :: MediaType -> Int # enumFrom :: MediaType -> [MediaType] # enumFromThen :: MediaType -> MediaType -> [MediaType] # enumFromTo :: MediaType -> MediaType -> [MediaType] # enumFromThenTo :: MediaType -> MediaType -> MediaType -> [MediaType] # | |
| Eq MediaType Source # | |
| Ord MediaType Source # | |
| Read MediaType Source # | |
| Show MediaType Source # | |
Arguments
| :: (Functor f, Foldable f) | |
| => Text | Username |
| -> Text | Password |
| -> Manager | Manager (must support TLS) |
| -> f MediaType | Which list(s) to export |
| -> IO (CookieJar, f URI) |
Export list(s) and return URL(s) to gzipped XML and a CookieJar which must be used in order to access them.
data MyAnimeListException Source #
Possible exceptions that could be raised by exportLists
Constructors
| InvalidCredentials | Wrong username/password |
| TooManyAttempts | Too many failed logins |