{"id":24262957,"url":"https://github.com/kylesurowiec/swapi-elixir","last_synced_at":"2025-10-30T11:20:25.789Z","repository":{"id":57555099,"uuid":"202789178","full_name":"kylesurowiec/swapi-elixir","owner":"kylesurowiec","description":"An API wrapper for https://swapi.co built with Elixir","archived":false,"fork":false,"pushed_at":"2020-04-06T15:17:49.000Z","size":14,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-08T07:53:08.416Z","etag":null,"topics":["api-wrapper","elixir","swapi"],"latest_commit_sha":null,"homepage":"","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/kylesurowiec.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":"2019-08-16T19:42:46.000Z","updated_at":"2024-02-20T18:18:40.000Z","dependencies_parsed_at":"2022-09-26T18:51:34.093Z","dependency_job_id":null,"html_url":"https://github.com/kylesurowiec/swapi-elixir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kylesurowiec/swapi-elixir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylesurowiec%2Fswapi-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylesurowiec%2Fswapi-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylesurowiec%2Fswapi-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylesurowiec%2Fswapi-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylesurowiec","download_url":"https://codeload.github.com/kylesurowiec/swapi-elixir/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylesurowiec%2Fswapi-elixir/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270142584,"owners_count":24534556,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api-wrapper","elixir","swapi"],"created_at":"2025-01-15T07:25:24.432Z","updated_at":"2025-10-30T11:20:25.704Z","avatar_url":"https://github.com/kylesurowiec.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swapi\n\n**An API wrapper for https://swapi.co built with Elixir**\n\n## Examples\n\n```elixir\ndefmodule Examples do\n  def main() do\n    # Output:\n    # A New Hope\n    # Attack of the Clones\n    # The Phantom Menace\n    # ...\n    Swapi.get_all_films()\n    |\u003e Enum.each(fn f -\u003e IO.puts(\"#{f[\"title\"]}\") end)\n\n    # Output:\n    # Alderaan\n    # Yavin IV\n    # Hoth\n    # ...\n    Swapi.get_all_planets()\n    |\u003e Enum.each(fn p -\u003e IO.puts(\"#{p[\"name\"]}\") end)\n\n    # Output:\n    # Hutt: Huttese\n    # Yoda's species: Galactic basic\n    # Trandoshan: Dosh\n    Swapi.get_all_species()\n    |\u003e Enum.each(fn s -\u003e IO.puts(\"#{s[\"name\"]}: #{s[\"language\"]}\") end)\n  end\nend\n```\n\n## Installation\n\nThe package can be installed by adding `swapi_elixir` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:swapi_elixir, \"~\u003e 1.0.0\"}\n  ]\nend\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylesurowiec%2Fswapi-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylesurowiec%2Fswapi-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylesurowiec%2Fswapi-elixir/lists"}