Skip to content

Instantly share code, notes, and snippets.

Val Polouchkine vpolouchkine

Block or report user

Report or block vpolouchkine

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ridetypes.yaml
operationId: GetRideTypes
summary: Types of rides
description: >
The ride types endpoint returns information about what kinds of Lyft rides you can request at a given location.
- $ref: '#/parameters/LatParam'
- $ref: '#/parameters/LngParam'
- $ref: '#/parameters/OptionalRideType'

Keybase proof

I hereby claim:

  • I am vpolouchkine on github.
  • I am vvvv ( on keybase.
  • I have a public key whose fingerprint is 33D7 D906 FB6B 7A8D 49F4 C658 00A5 77AC 1758 C6B5

To claim this, I am signing this object:

View example.go
func handleArrived(e lyft.IncomingEvent) {
// Turn off the lights only when I'm leaving my house
if fmt.Sprintf("%v", e.Event.Origin.Address) == "..." {
fmt.Printf("Your ride is here!")
_, err := http.Get("")
if err != nil {
View example.go
func main() {
listener := lyft.NewListener("...")
listener.RegisterHandler(handleArrived, lyft.RideStatusArrived)
http.HandleFunc("/", listener.Handler)
http.ListenAndServe(":3000", nil)
func handleArrived(e lyft.IncomingEvent) {
fmt.Printf("Your ride is here!")
View gist:4fa22270fde1c882c56f
"-mode snapshot",
"iPhone 6s",
You can’t perform that action at this time.