{"id":16548037,"url":"https://github.com/mscoutermarsh/addevent-ruby","last_synced_at":"2025-10-11T14:32:41.200Z","repository":{"id":56842264,"uuid":"42373159","full_name":"mscoutermarsh/AddEvent-Ruby","owner":"mscoutermarsh","description":"Ruby client for the AddEvent.com API :calendar:","archived":false,"fork":false,"pushed_at":"2017-02-10T19:09:56.000Z","size":79,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-11T14:32:07.150Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/mscoutermarsh/AddEvent-Ruby","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mscoutermarsh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-12T21:08:16.000Z","updated_at":"2021-07-19T02:55:04.000Z","dependencies_parsed_at":"2022-08-29T07:41:56.057Z","dependency_job_id":null,"html_url":"https://github.com/mscoutermarsh/AddEvent-Ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mscoutermarsh/AddEvent-Ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscoutermarsh%2FAddEvent-Ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscoutermarsh%2FAddEvent-Ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscoutermarsh%2FAddEvent-Ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscoutermarsh%2FAddEvent-Ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mscoutermarsh","download_url":"https://codeload.github.com/mscoutermarsh/AddEvent-Ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscoutermarsh%2FAddEvent-Ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007450,"owners_count":26084313,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T19:24:34.616Z","updated_at":"2025-10-11T14:32:41.162Z","avatar_url":"https://github.com/mscoutermarsh.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AddEvent Ruby API Client\n\n(Formally known as AddThisEvent)\n\n:construction: Work in progress, don't use me yet! :warning:\n\n![AddEvent Ruby API Client](https://raw.githubusercontent.com/mscoutermarsh/AddEvent-Ruby/master/addthisevent-ruby.png)\n\n[![Build Status](https://travis-ci.org/mscoutermarsh/AddEvent-Ruby.svg)](https://travis-ci.org/mscoutermarsh/AddEvent-Ruby) [![Code Climate](https://codeclimate.com/github/mscoutermarsh/AddEvent-Ruby/badges/gpa.svg)](https://codeclimate.com/github/mscoutermarsh/AddEvent-Ruby) [![Test Coverage](https://codeclimate.com/github/mscoutermarsh/AddEvent-Ruby/badges/coverage.svg)](https://codeclimate.com/github/mscoutermarsh/AddEvent-Ruby/coverage) [![security](https://hakiri.io/github/mscoutermarsh/AddEvent-Ruby/master.svg)](https://hakiri.io/github/mscoutermarsh/AddEvent-Ruby/master)\n\nRuby client for the AddEvent.com API :zap: :smiley:.\n\nMakes it super easy to create AddEvent URL's from Ruby.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'add_event'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install add_event\n\n## Usage\n\nYou'll need an **AddEvent premium account** to use the API (sign up here: [addevent.com](https://addevent.com)).\n\nOnce you have a premium account, you'll need to set your `client_id` in an initializer (Rails), as an environment variable `ADD_EVENT_CLIENT_ID` or by passing it as an `option` each time when creating a new event URL.\n```Ruby\n# config/initializers/add_event.rb\nAddEvent.configuration do |config|\n  # Your Client ID (License code) is available here: https://addevent.com/account/\n  config.client_id = 'your_id_goes_here'\nend\n```\n\nThen to create an event, pass the `title`, `starts_at`, `ends_at` and `options` to `AddEvent.url`\n\n```Ruby\nparty_starts = DateTime.new(2016, 10, 2, 18, 0, 0, '-7')\nparty_ends = DateTime.new(2016, 10, 3, 3, 0, 0, '-7')\n\nevent_options = {\n  service: :google, # or 'google' works too!\n  organizer: 'Mike',\n  organizer_email: 'coutermarsh.mike@gmail.com',\n  alert: 15, # set alarm for 15 minutes before the party starts\n  description: \"A little get together to celebrate DHH's birthday. BYORG (Bring your own ruby gems)\",\n  location: \"Ruby Bar, San Francisco CA\"\n}\n\nurl = AddEvent.url(title: \"DHH's Birthday Bash\", starts_at: party_starts,\n                       ends_at: party_ends, options: event_options)\n```\n\nTo see the full list of available options, see the documentation here (TODO).\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`.\n\n## Contributing :heart:\n\nWant to make this better? Great! :smile:\n\nBug reports and pull requests are welcome on GitHub at https://github.com/mscoutermarsh/AddEvent-Ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmscoutermarsh%2Faddevent-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmscoutermarsh%2Faddevent-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmscoutermarsh%2Faddevent-ruby/lists"}