Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 891 Bytes

File metadata and controls

21 lines (14 loc) · 891 Bytes

P4PlanAPI-Go-Examples

Examples to explore the P4 Plan API using Go(Golang).

GraphQL Client

  • Simple implementation of some useful queries and mutations to familiarize someone with P4Plan's API.

Dependencies

Quick Start

  • Download and install the dependencies go get .
  • Rename example.env file to .env and modify the P4PLAN_API_HOST, P4PLAN_USERNAME and P4PLAN_PASSWORD in with your login details (for the examples to work, user must have ADMIN access).
  • With go run . you can execute the go process which will connect to the API and run the requests