Skip to main content

Nodeflux APIs.

Project description

Nodeflux APIs

pipeline status

This repository contains the public Nodeflux Analytics API. It uses Protocol Buffers version 3 to define the API interface and the structure of the payload messages.

You can use the Nodeflux APIs by using the generated code from this repository. We've also built several client libraries, which are the recommended way to call the Nodeflux APIs:

Generate Source Core

To generate language specific source code from this repository, you need to install Protocol Buffer, gRPC, and some language specific plugins in your machine. Then you can use make to generate the source code.

TL;DR

This guides assume you have all dependencies installed. To install the dependencies, see language specific guides below.

git clone https://github.com/googleapis/googleapis.git
export GOOGLEAPIS_PATH=$(pwd)/googleapis

make all                                      # Run linter and build all
make CPP_OUT_DIR=/path/to/genfiles cpp        # Build c++ sources
make PYTHON_OUT_DIR=/path/to/genfiles python  # Build python sources
make GO_OUT_DIR=/path/to/genfiles go          # Build go sources
make docs                                     # Build documentation
make lint                                     # Run linter

C++

To build the C++ source codes, you need to have the following dependencies:

Build the source code by running the following commands:

git clone https://github.com/googleapis/googleapis.git
export GOOGLEAPIS_PATH=$(pwd)/googleapis

make CPP_OUT_DIR=/path/to/genfiles cpp

Python

To build the Python source codes, you need to have the following dependencies:

The dependencies above can be installed by running the following commands:

pip3 install grpcio-tools mypy-protobuf

git clone https://github.com/googleapis/googleapis.git
export GOOGLEAPIS_PATH=$(pwd)/googleapis

Then you can build python source codes:

Then you can build and install python source codes:

make python
pip install .

If you want to build the python sources to different directory, use the PYTHON_OUT_DIR argument.

make PYTHON_OUT_DIR=/path/to/genfiles python

Go

To build the Python source codes, you need to have the following dependencies:

The dependencies above can be installed by running the following commands:

go get -u github.com/golang/protobuf/protoc-gen-go
go get -u google.golang.org/grpc

git clone https://github.com/googleapis/googleapis.git
export GOOGLEAPIS_PATH=$(pwd)/googleapis

Then you can build go source codes:

make GO_OUT_DIR=/path/to/genfiles go

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nodefluxapis, version 0.2.6
Filename, size File type Python version Upload date Hashes
Filename, size nodefluxapis-0.2.6-py2.py3-none-any.whl (29.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size nodefluxapis-0.2.6.tar.gz (16.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page