此内容没有您所选择的语言版本。
Chapter 8. Code Libraries
3scale plugins allow you to connect to the 3scale architecture in a variety of core programming languages. Plugins can be deployed anywhere to act as control agents for your API traffic. Download the latest version of the plugin and gems for the programming language of your choice along with their corresponding documentation below.
You can also find us on GitHub. For other technical details, refer to the technical overview.
8.1. Python
Download the code here.
Standard distutils installation – unpack the file and from the new directory run:
sudo python setup.py install
Or you can put ThreeScale.py in the same directory as your program. See the README for some usage examples.
8.2. Ruby gem
You can download from GitHub or install it directly using:
gem install 3scale_client
8.3. Perl
Download the code bundle here.
It requires:
- » LWP::UserAgent (installed by default on most systems)
- » XML::Parser (now standard in perl >= 5.6)
Run this to install into the default library location:
perl Makefile.PL && make install
Run this for further install options:
make help
8.4. PHP
Download the code here and drop into your code directory – see the README in the bundle.
8.5. Java
Download the JAR bundle here.
Just unpack it into a directory and then run the maven build.
8.6. .NET
Download the code here, and see the bundled README.txt for instructions.
8.7. Node.js
Download the code here,or install it through the package manager npm:
npm install 3scale