{"id":13509432,"url":"https://github.com/Assembla/ex_assembla_api","last_synced_at":"2025-03-30T13:32:10.075Z","repository":{"id":34570475,"uuid":"38516591","full_name":"assembla/ex_assembla_api","owner":"assembla","description":"Assembla API client for Elixir","archived":false,"fork":false,"pushed_at":"2018-01-15T22:32:00.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-11-24T18:35:33.732Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/assembla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-04T01:13:24.000Z","updated_at":"2019-01-14T20:21:58.000Z","dependencies_parsed_at":"2022-09-08T15:02:23.222Z","dependency_job_id":null,"html_url":"https://github.com/assembla/ex_assembla_api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assembla%2Fex_assembla_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assembla%2Fex_assembla_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assembla%2Fex_assembla_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assembla%2Fex_assembla_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/assembla","download_url":"https://codeload.github.com/assembla/ex_assembla_api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246324016,"owners_count":20759062,"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:07.662Z","updated_at":"2025-03-30T13:32:09.813Z","avatar_url":"https://github.com/assembla.png","language":"Elixir","funding_links":[],"categories":["Third Party APIs"],"sub_categories":[],"readme":"Assembla Api\n===========\n\nSet environment variables with values from [API section][1]:\n```shell\nexport ASSEMBLA_API_KEY='key'\nexport ASSEMBLA_API_KEY='secret'\n```\nor configure application in mix config file:\n```elixir\nconfig :assembla_api,\n  api_key: \"fill-me\",\n  api_secret: \"fill-me\"\n```\n\n## Usage\n\n```elixir\nmy_info = AssemblaApi.User.me\nother_user = AssemblaApi.User.get(\"bot\")\nspaces = AssemblaApi.Spaces.list\nspace = AssemblaApi.Spaces.get(\"sample\")\nspace_tools = AssemblaApi.Spaces.SpaceTools.list(\"sample\")\ntool = AssemblaApi.Spaces.SpaceTools.get(\"sample\", \"git\")\n\nalias AssemblaApi.Spaces.SpaceTools.MergeRequests\nmrs = MergeRequests.list \"sample\", \"git\", %{status: :open, per_page: 20}\nmr = MergeRequests.get \"sample\", \"git\", 2022504\n{ok, mr} = MergeRequests.create \"project\", \"git\", %{title: \"Test API\", source_symbol: \"test_api\", target_symbol: \"master\"}\n\nalias AssemblaApi.Spaces.SpaceTools.MergeRequests.Versions\nversions = Versions.list(\"sample\", \"git\", 2022504)\nversion = Versions.get(\"sample\", \"git\", 2022504, 1)\n\nalias AssemblaApi.Spaces.SpaceTools.MergeRequests.Versions.Votes\n{:ok, votes} = Votes.list(\"sample\", \"git\", 2022504, 1)\n{:ok, votes} = Votes.upvote(\"sample\", \"git\", 2022504, 1)\n{:ok, votes} = Votes.downvote(\"sample\", \"git\", 2022504, 1)\n{:ok, votes} = Votes.remove(\"sample\", \"git\", 2022504, 1)\n\nalias AssemblaApi.Spaces.SpaceTools.MergeRequests.Versions.Comments\n{:ok, comments} = Comments.list \"project\", \"git\", 2027413, 1\n{:ok, comments} = Comments.create \"project\", \"git\", 2027413, 1, \"Elixir world!\"\n```\n\n## TODO\n\n* Add more api methods\n* Add oauth token authentication\n\n[1]: https://www.assembla.com/user/edit/manage_clients\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAssembla%2Fex_assembla_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAssembla%2Fex_assembla_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAssembla%2Fex_assembla_api/lists"}