P4 API for Ruby Documentation

P4 API for Ruby is an extension to the Ruby programming language that allows you to run P4 Server commands from within Ruby scripts, and get the results in a Ruby-friendly format.

Get started

Learn how to get started using P4 API for Ruby.

What's new

Learn about new features and enhancements in P4 API for Ruby 2025.1.

Programming with P4 API for Ruby

How to create a new client workspace and connect to SSL-enables servers.

P4 API for Ruby classes

Learn about P4 API for Ruby classes and their methods.

Need more help? Browse all P4 documentation to find what you need.