{"id":13509477,"url":"https://github.com/ammmir/elixir-dropbox","last_synced_at":"2025-08-02T01:30:42.575Z","repository":{"id":16584713,"uuid":"19338960","full_name":"ammmir/elixir-dropbox","owner":"ammmir","description":"Dropbox Core API client for Elixir","archived":false,"fork":false,"pushed_at":"2014-09-10T20:52:56.000Z","size":236,"stargazers_count":13,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-06T08:46:16.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ammmir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-01T07:52:15.000Z","updated_at":"2022-08-26T08:15:55.000Z","dependencies_parsed_at":"2022-09-26T20:52:28.746Z","dependency_job_id":null,"html_url":"https://github.com/ammmir/elixir-dropbox","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammmir%2Felixir-dropbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammmir%2Felixir-dropbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammmir%2Felixir-dropbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammmir%2Felixir-dropbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ammmir","download_url":"https://codeload.github.com/ammmir/elixir-dropbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222552878,"owners_count":17002160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T02:01:08.356Z","updated_at":"2024-11-01T09:31:34.024Z","avatar_url":"https://github.com/ammmir.png","language":"Elixir","funding_links":[],"categories":["Third Party APIs","Elixir"],"sub_categories":[],"readme":"# elixir-dropbox\n\nA Dropbox Core API client for Elixir, based on [hackney](https://github.com/benoitc/hackney) and [Jazz](https://github.com/meh/jazz).\n\nThe Dropbox module provides the thinnest layer of abstraction as possible on top of the Dropbox Core API. Responses are returned as maps and use the same field names as the API itself to keep things simple.\n\nUNDER DEVELOPMENT, NOT READY FOR PRODUCTION USE! Contributions welcome :)\n\n## Usage\n\n```iex\niex\u003e Dropbox.start\n:ok\niex\u003e client = %Dropbox.Client{access_token: \"WAAAwaaaWAAAWaaaaWaaWaaa...\"}\n%Dropbox.Client{access_token: \"WAAAwaaaWAAAWaaaaWaaWaaa...\",\n client_id: nil, client_secret: nil, locale: nil, root: :dropbox}\niex\u003e Dropbox.account_info! client\n %Dropbox.Account{country: \"US\", display_name: \"Amir Malik\", email: \"amir@example.com\",\n  quota_info: %{normal: 0, quota: 2952790016, shared: 21122088},\n  referral_link: \"https://db.tt/uLPPUkc\", team: nil, uid: 31337}\niex\u003e Dropbox.mkdir! client, \"secrets\"\ntrue\niex\u003e Dropbox.upload_file! client, \"/etc/passwd\", \"secrets/lol\"\n%Dropbox.Metadata{bytes: 5253, client_mtime: \"Thu, 01 May 2014 07:01:46 +0000\", \n contents: %{}, hash: nil, icon: \"page_white\", is_deleted: false, is_dir: false,\n modified: \"Thu, 01 May 2014 07:01:46 +0000\", path: \"/secrets/lol\",\n photo_info: %Dropbox.Metadata.Photo{lat_long: [], time_taken: nil},\n rev: \"6800b928df\", size: \"5.1 KB\", thumb_exists: false,\n video_info: %Dropbox.Metadata.Video{duration: 0, lat_long: [], time_taken: nil}}\n```\n\nNearly all functions have bang (!) equivalents, which raise exceptions on errors instead of returning `{:error, reason}` tuples.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fammmir%2Felixir-dropbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fammmir%2Felixir-dropbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fammmir%2Felixir-dropbox/lists"}