bitmovin

package module
v1.30.100 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 7 Imported by: 0

README

Bitmovin Go API SDK Header

Go API SDK which enables you to seamlessly integrate the Bitmovin API into your projects.

License

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

Using this API client requires an active account.

Don't have an account yet? Sign up for a free Bitmovin trial plan!

For full documentation of all available API endpoints, see the Bitmovin API reference.

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