google-drive: Google Drive API access
Interacting with the Google Drive API
Example usage:
import Control.Monad (void) import Data.Conduit (($$+-)) import Network.Google.Drive main :: IO () main = void $ runApi token $ do root <- getFile "root" items <- listFiles $ ParentEq (fileId root) `And` Untrashed mapM_ download items where download :: File -> Api () download file = do let fd = fileData file case fileDownloadUrl $ fd of Nothing -> return () Just url -> getSource (T.unpack url) [] $ \source -> source $$+- sinkFile (fileTitle fd)
Modules
[Index]
Downloads
- google-drive-0.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 0.4.1 |
---|---|
Dependencies | aeson (>=0.8 && <1.0), base (>=4 && <5), bytestring, conduit, conduit-extra (>=1.1.4 && <1.2), directory, filepath, http-conduit (>=2.1 && <2.2), http-types, mtl, random, resourcet, text, time [details] |
License | MIT |
Author | Pat Brisbin <pbrisbin@gmail.com> |
Maintainer | Pat Brisbin <pbrisbin@gmail.com> |
Source repo | head: git clone https://github.com/pbrisbin/google-drive |
Uploaded | by PatrickBrisbin at 2014-11-19T02:56:06Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 4290 total (0 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |