0.0
No release in over 3 years
Low commit activity in last 3 years
Gem to wrap AppVeyor API for simpler interactions with the AppVeyor Api
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12
~> 1.0
~> 2.14
~> 11.3
~> 3.5
~> 0.12
~> 3.0
~> 2.1

Runtime

~> 0.9.2
~> 2.0
 Project Readme

CircleCI

appveyor-api

A wrapper for the AppVeyor API

Inspiration from https://github.com/esaio/esa-ruby

Example Usage

This client will accept either an APPVEYOR_API_KEY as an argument or detect an environment variable

Environment Variables

$APPVEYOR_API_KEY

Access_token

@client = AppVeyor::Client.new(access_token: '123456787980nthrthrt')

List Environments

@client.list_environments

List Projects

@client.list_projects

Update Environment

awesome_environment={"deploymentEnvironmentId":12168,"name":"production","provider":"FTP","settings":{"providerSettings":[{"name":"server","value":{"value":"ftp.server.com","isEncrypted":false}},{"name":"username","value":{"value":"ftp-user","isEncrypted":false}},{"name":"password","value":{"value":"password","isEncrypted":true}}],"environmentVariables":[{"name":"my-var","value":{"value":"123","isEncrypted":false}}]}}

@client.update_environment(awesome_environment)