bitmovin

package module
v1.16.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2019 License: MIT Imports: 7 Imported by: 0

README

Bitmovin Go API client

Important! This is an alpha version, there may be breaking changes.

bitmovin

Go-Client which enables you to seamlessly integrate the Bitmovin API into your projects. Using this API client requires an active account.

Sign up for a Bitmovin Account!

The full API reference can be found here.

Installation:

go get github.com/bitmovin/bitmovin-api-sdk-go

Initializiation

package main

import (
    "github.com/bitmovin/bitmovin-api-sdk-go"
    "github.com/bitmovin/bitmovin-api-sdk-go/common"
)

func main() {
    bitmovinApi, err := bitmovin.NewBitmovinApi(func(apiClient *common.ApiClient) {
        apiClient.ApiKey = "<YOUR_API_KEY>"
    })
    if err != nil {
        panic(err)
    }

   // ...
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float64Ptr

func Float64Ptr(i float64) *float64

func Int32Ptr

func Int32Ptr(i int32) *int32

func Int64Ptr

func Int64Ptr(i int64) *int64

func IntPtr

func IntPtr(i int) *int

func StrPtr

func StrPtr(s string) *string

func ToPtr

func ToPtr(v interface{}) interface{}

Types

type BitmovinApi

type BitmovinApi struct {
	Account       *account.AccountApi
	Analytics     *analytics.AnalyticsApi
	Encoding      *encoding.EncodingApi
	General       *general.GeneralApi
	Notifications *notifications.NotificationsApi
	Player        *player.PlayerApi
	// contains filtered or unexported fields
}

func NewBitmovinApi

func NewBitmovinApi(configs ...func(*common.ApiClient)) (*BitmovinApi, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL