aboutsummaryrefslogtreecommitdiffstats
path: root/meetup/src/lib.rs
AgeCommit message (Collapse)Author
2018-04-15Add license (GNU GPLv3+)Teddy Wing
2018-04-15Change import interface to `meetup::client::Client`Teddy Wing
Instead of doing `use meetup::client::Client`, do `use meetup::Client`. Makes it less redundant.
2018-04-15Add 'error-chain' to the main libraryTeddy Wing
Use 'error-chain' here too. Seems like this will be a pretty useful library. Change the include in the 'meetup' `lib.rs` to allow us to export `meetup::Error` instead of `meetup::errors::Error` to be consistent with the error types of the other third-party libraries we're using.
2018-04-15meetup: Handle errors with 'error-chain'Teddy Wing
Use this instead of `Box`es. Hoping this, along with using the library in my main crate also, will help me get some more context on my runtime error. Hey, it did! Turns out the error is coming from 'serde_json'. Cool.
2018-04-14Pass `find_upcoming_events` parameters along through the programTeddy Wing
2018-04-14meetup(find_upcoming_events): Draft of request to Meetup APITeddy Wing
Set up the code to make a request to the Meetup API. Still needs an API key, and we need to call the function correctly in `write_feed`.
2018-04-13Add a function to build an RSS `Channel` object from a list of `Event`sTeddy Wing
This uses the RSS crate to build a new channel with items corresponding to the given `Event`s. It needs to be fleshed out a little, but this is the basic idea.
2018-04-13meetup(parse_json): Return a Vec of EventsTeddy Wing
* Derive `Deserialize` on our `Event` type * Use Serde to parse a `Vec` of `Event`s that we can return from the function * Return a `Result` from the function to handle Serde errors
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-12Add a "meetup" library crate to communicate with the Meetup APITeddy Wing