Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bryanjos/marvel
CLI and Elixir API Client for the Marvel API
https://github.com/bryanjos/marvel
Last synced: 2 months ago
JSON representation
CLI and Elixir API Client for the Marvel API
- Host: GitHub
- URL: https://github.com/bryanjos/marvel
- Owner: bryanjos
- Created: 2015-05-10T00:24:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-06-29T04:38:07.000Z (over 1 year ago)
- Last Synced: 2024-11-01T09:34:54.377Z (2 months ago)
- Language: Elixir
- Size: 3.55 MB
- Stars: 10
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - CLI and Elixir API Client for the Marvel API. (Third Party APIs)
- fucking-awesome-elixir - marvel - CLI and Elixir API Client for the Marvel API. (Third Party APIs)
- awesome-elixir - marvel - CLI and Elixir API Client for the Marvel API. (Third Party APIs)
README
Marvel
======API client and CLI for the [Marvel API Client](http://developer.marvel.com/)
The API and CLI both looks for either a `marvel` config block with the following keys:
* `public_key` - Your Marvel Public Key
* `private_key` - Your Marvel Private Keyor looks for the following environment variables
* `MARVEL_PUBLIC_KEY` - Your Marvel Public Key
* `MARVEL_PRIVATE_KEY` - Your Marvel Private Key[Documentation](http://hexdocs.pm/marvel/)
Usage for CLI Client:
```
usage: marvel [options]commands:
characters Gets character data.
comics Gets comic data.
creators Gets creator data.
events Gets event data.
series Gets series data.
stories Gets story data."entity" in the options below correspond to the commands above.
You cannot the option if it has the same name as the commandinvalid ex: marvel characters --characters
options:
-s --search [searchText] searches for entities that begin with the searchText
-i --id [id] the id of the entity
-co --comics the comics for the entity
-ev --events the events for the entity
-se --series the series for the entity (does not work for comics)
-st --stories the stories for the entity
-ch --characters the characters for the entity (does not work for creators)
-ch --creators the creators for the entity (does not work for characters)
```