{"id":21313746,"url":"https://github.com/crunchysoul/spacex_ex","last_synced_at":"2025-07-12T00:33:36.450Z","repository":{"id":57550661,"uuid":"144979766","full_name":"crunchysoul/spacex_ex","owner":"crunchysoul","description":"An Elixir wrapper for r-spacex/SpaceX-API","archived":false,"fork":false,"pushed_at":"2018-08-29T05:06:54.000Z","size":33,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-22T01:47:55.953Z","etag":null,"topics":["api-wrapper","elixir","spacex-api"],"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/crunchysoul.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":"2018-08-16T11:39:57.000Z","updated_at":"2019-10-28T10:44:14.000Z","dependencies_parsed_at":"2022-09-26T18:41:49.269Z","dependency_job_id":null,"html_url":"https://github.com/crunchysoul/spacex_ex","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/crunchysoul%2Fspacex_ex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crunchysoul%2Fspacex_ex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crunchysoul%2Fspacex_ex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crunchysoul%2Fspacex_ex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crunchysoul","download_url":"https://codeload.github.com/crunchysoul/spacex_ex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225778866,"owners_count":17522710,"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":["api-wrapper","elixir","spacex-api"],"created_at":"2024-11-21T18:08:31.685Z","updated_at":"2024-11-21T18:08:32.355Z","avatar_url":"https://github.com/crunchysoul.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://www.spacex.com/sites/spacex/files/styles/new_gallery_large/public/2016_-_02_jason3_vertical2.jpg?itok=fxjAYWHW\"\u003e\u003c/p\u003e\n\u003cdiv align=\"center\"\u003e\n\n# 🚀 Elixir SpaceX API Wrapper \n[![GitHub release](https://img.shields.io/github/release/crunchysoul/spacex_ex.svg)](https://github.com/crunchysoul/spacex_ex/releases)\n[![GitHub issues](https://img.shields.io/github/issues/crunchysoul/spacex_ex.svg)](https://github.com/crunchysoul/spacex_ex/issues)\n[![GitHub stars](https://img.shields.io/github/stars/crunchysoul/spacex_ex.svg)](https://github.com/crunchysoul/spacex_ex/stargazers)\n[![GitHub license](https://img.shields.io/github/license/crunchysoul/spacex_ex.svg)](https://github.com/crunchysoul/spacex_ex)\n\n### A simple API wrapper for [r-spacex/SpaceX-API](https://github.com/r-spacex/SpaceX-API) in Elixir!\n\n\u003cbr\u003e\u003cbr\u003e\n\n\u003c/div\u003e\n\n## Table of Contents\n\n- [Documentation](#documentation)\n- [Installation](#installation)\n- [Usage](#basic-usage)\n\n\n## Documentation\nSee the [Wiki](https://github.com/crunchysoul/spacex_ex/wiki) for full wrapper documentation.\n\n## Installation\n[available in Hex](https://hex.pm/packages/spacex_ex/1.0.0), the package can be installed\nby adding `spacex_ex` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:spacex_ex, \"~\u003e 1.0.0\"}\n  ]\nend\n```\n\n## Basic Usage\n```elixir\n# List of all SpaceX capsule information\n{200, capsules} = SpacexEx.capsules\n\n# List of past SpacexEx.launch information\n{200, past_launches} = SpacexEx.launches\n\n# List of all SpaceX launch information\n{200, all_launches} = SpacexEx.launches_all\n\n# Next SpaceX launch information\n{200, next_launch} = SpacexEx.launches_next\n\n# Latest SpaceX launch information\n{200, latest_launch} = SpacexEx.launches_latest\n\n# Upcoming SpaceX launch information\n{200, upcoming_launch} = SpacexEx.launches_upcoming\n\n# List of all SpaceX launchpad information\n{200, launchpads} = SpacexEx.launchpads\n\n# List of all SpaceX mission information\n{200, missions} = SpacexEx.missions\n\n# List of all SpaceX capsule part information\n{200, part_capsules} = SpacexEx.part_capsules\n\n# List of all SpaceX core part information\n{200, part_cores} = SpacexEx.part_cores\n\n# List of all SpaceX payload information\n{200, payloads} = SpacexEx.payloads\n\n# List of all SpaceX rocket information\n{200, rockets} = SpacexEx.rockets\n\n# Get SpaceX company information\n{200, spacex_info} = SpacexEx.info\n\n# Get the SpaceX Roadster information\n{200, spacex_roadster} = SpacexEx.info_roadster\n\n# Get SpaceX history information\n{200, spacex_history} = SpacexEx.info_history \n\n# Get a SpaceX capsule information by id\n{200, capsule} = SpacexEx.capsules(\"dragon1\")\n\n# Get a SpaceX launchpad information by id\n{200, launchpad} = SpacexEx.launchpads(\"ksc_lc_39a\")\n\n# Get a SpaceX missions information by id\n{200, mission} = SpacexEx.missions(\"6C42550\")\n\n# Get a SpaceX capsule part information by id\n{200, part_capsule} = SpacexEx.part_capsules(\"C111\")\n\n# Get a SpaceX capsule core information by id\n{200, part_core} = SpacexEx.part_cores(\"B1029\")\n\n# Get a SpaceX payloads information by id\n{200, payload} = SpacexEx.payloads(\"SpaceX CRS-11\")\n\n# Get a SpaceX rockets information by id\n{200, rocket} = SpacexEx.rockets(\"bfr\")\n\n# Get attributes of a capsule\ncapsule.name\n\u003e\u003e\u003e \"Dragon 1\"\n\ncapsules.crew_capacity\n\u003e\u003e\u003e 0\n\ncapsules.description\n\u003e\u003e\u003e \"Dragon is a reusable spacecraft developed by SpaceX. ...\"\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrunchysoul%2Fspacex_ex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrunchysoul%2Fspacex_ex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrunchysoul%2Fspacex_ex/lists"}