Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rubybrite

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rubybrite

  • 0.0.4
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

Gem Version

This gem is for Eventbrite V3 API only.

Get Started

gem install rubybrite

For Rails project:

add gem 'rubybrite' to your Gemfile.

Quick examples

@eb = EventbriteAPI.new("access_token")

For Event API call:

@event = @eb.events(id: 123456)

Get event details: @event.get

Get event attendees: @event.attendees.get

For a specific attendee: @event.attendees(id: 1234567).get

Use options: @event.attendees(status: "attending").get

Get event teams: @event.teams.get

Get event team attendees: @event.teams(id: 123456).attendees.get

For User API call:

When using personal OAuth token: @user = @eb.users(id: "me")

When using a third party OAuth token: @user = @eb.users(id: third_party_user_id)

OAuth token needs to be updated before making an API call on behalf of a third party: EventbriteAPI::Configuration.access_token="third-party-user-oauth-token"

Get user details: @user.get

Get user owned events attendees: @user.owned_event_attendees.get

For Order API call:

@order = @eb.orders(id: 123456) @order.get

This gem also provides .post request as well as the .get above, but the V3 API is still in preview status and doesn't seem to recognize the arguments in the documentation for POST request.

For more information about V3 API, please visit http://developer.eventbrite.com/docs/.

FAQs

Package last updated on 04 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc