aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-04-12meetup: Create `Event` structTeddy Wing
Include some fields that seem interesting. Also leave a note that we'll want to create a new struct for `Venue` because this is a sub hash in the JSON response.
2018-04-12meetup: Add 'serde_json' crateTeddy Wing
For deserialising JSON from the API to a struct.
2018-04-12Add some test JSON from the Meetup APITeddy Wing
This comes from: https://api.meetup.com/find/upcoming_events?&sign=true&photo-host=public&page=20 Grabbed from the browser API console. We'll use this for writing unit tests.
2018-04-12Make `meetup-api-token` a required argument, print its valueTeddy Wing
Use `reqopt` since this is a required option. Since the `opts.parse` call will catch it if it isn't present earlier in the `main` function, just unwrap it when extracting it.
2018-04-12Print Getopts errors with a newlineTeddy Wing
2018-04-12Parse command line arguments and add help outputTeddy Wing
Include an option to pass a Meetup.com API token (not saved yet).
2018-04-12Cargo.toml: Add 'getopts'Teddy Wing
For command line argument parsing.
2018-04-12Add a "meetup" library crate to communicate with the Meetup APITeddy Wing
2018-04-12Initial commit. Generated Rust v1.25.0 project.Teddy Wing
Generated with: $ cargo new --bin meetup-find-events-rss