Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

2Performant

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

2Performant

  • 0.1.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

2Performant Ruby API

The API allows you to integrate any 2Performant network in your application.

Its goal is to make sure developers can implement anything that can be done via the web interface using API functions.

The API is RESTful JSON over HTTP using all four verbs (GET/POST/PUT/DELETE).

The current implementation is a straight port of the PHP library, so the documentation applies, for the most part, to both libraries.

API documentation can be found at: http://help.2performant.com/API

Some Examples

Interacting with 2Performant networks is very easy.

To initialize the object using simple authentication

session = TwoPerformant.new(:simple, {
  :user => 'user',
  :pass => 'password',
}, 'http://api.yournetwork.com')

To use oauth

tp = TwoPerformant.new(:oauth, {
  :consumer_token => 'consumer_token',
  :consumer_secret => 'consumer_secret',
  :access_token => 'access_token',
  :access_secret => 'access_secret'
}, 'http://api.yournetwork.com')

Afterwards you can call any function from the TPerformant class:

# display the last 6 received messages
p session.received_messages_list

For details about each API function the documentation can be found at: http://help.2performant.com/API

Advanced Applications

You can build advanced applications using the 2Performant API and have them distributed over 2Performant App Store.

Get Started at: http://apps.2performant.com and http://help.2performant.com/Developers-Area

Reporting Problems

If you encounters any problems don't hesitate to contact us at: support (at) 2performant.com

FAQs

Package last updated on 20 Sep 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc