https://github.com/adzerk/adzerk-management-sdk-ruby
Ruby SDK for the Kevel Management API
https://github.com/adzerk/adzerk-management-sdk-ruby
management
Last synced: 12 months ago
JSON representation
Ruby SDK for the Kevel Management API
- Host: GitHub
- URL: https://github.com/adzerk/adzerk-management-sdk-ruby
- Owner: adzerk
- License: other
- Created: 2011-06-23T01:44:39.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2024-01-23T14:16:50.000Z (over 2 years ago)
- Last Synced: 2025-05-13T21:40:40.685Z (about 1 year ago)
- Topics: management
- Language: Ruby
- Homepage:
- Size: 536 KB
- Stars: 42
- Watchers: 51
- Forks: 38
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Adzerk
Ruby wrapper for the [Adzerk](https://adzerk.com) API.
## Installation
```bash
sudo gem install adzerk
```
## Get your API key
To obtain your Adzerk API key:
- Log into the management application at http://_yournetwork_.adzerk.com.
- Click on the Settings tab.
- Click on the API Keys tab.
- Check to make sure that the API key you are using is enabled.
## Usage
Refer to the [Adzerk Knowledge Base](http://dev.adzerk.com) for information about the properties needed to create and update ads, flights, etc.
### Examples
```ruby
require 'adzerk'
client = Adzerk::Client.new(ENV["ADZERK_API_KEY"])
pp client.sites.list
```
## To run tests as Adzerk developer
bundle install
run `sql-env` to set environment vars
export ADZERK_API_KEY=$(api-key 12345)
bundle exec rspec test_name.rb
## License
Copyright © 2011-2020 Adzerk, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.