0.0
No commit activity in last 3 years
No release in over 3 years
A Ruby wrapper for the SocialPilot platform API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Social Pilot

Gem Version

A Ruby wrapper for the SocialPilot platform API.

Release Notes

Authentication

Before using this gem, you will need to retrieve an access_token in order to access the SocialPilot API. Navigate to their docs found here and set up an App then authentiate with their OAuth2 tool.

Installation

Add module to your Gemfile:

gem 'social_pilot'

Then run bundle to install the Gem:

bundle install

Set up an initializer file with your SocialPilot Access Token:

SocialPilot.access_token  = 'social_pilot_access_token'

e.g. config/initializers/social_pilot.rb

Usage

This gem provides a collection of operations for use within the SocialPilot API.

Account

List all accounts.

SocialPilot::Account.list

Post

Post standard update.

SocialPilot::Post.update(params)

Post update with image.

SocialPilot::Post.update_with_image(params)

Versioning

UK Vehicle Data Ruby wrapper follows Semantic Versioning 2.0 as defined at http://semver.org.

How to contribute

  • Fork the project
  • Create your feature or bug fix
  • Add the requried tests for it.
  • Commit (do not change version or history)
  • Send a pull request against the development branch

Copyright

Copyright (c) 2018 Tom Dallimore (@tom_dallimore)
Licenced under the MIT licence.