Full 100% API coverage is not a direct goal as we're primarily developing this for our needs at CitySpotters. Pull requests are definitely welcome.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install tiqets
You must be in possession of a Tiqets API key. Use this key to initialize a new API client:
@client = Tiqets::Client.new(api_key: 'my-api-key')
Alternatively you can set the
TIQETS_API_KEY environment variable and use the shared API instance with:
@client = Tiqets.default_api
Finds a product by Product ID. Returns an object with the properties described in the API documentation.
currency params as specified in the API documentation.
product = @client.find_product(973698) # => #<Tiqets::Resources::Product::Product:0x007fe9c8438a00> product.title #=> "Louvre Museum: Skip the line"
Bug reports and pull requests are welcome on GitHub at https://github.com/richardvenneman/tiqets.
The gem is available as open source under the terms of the MIT License.