func NewProvider(api *API, vid string, cache time.Duration) *Provider {
	v := &Provider{
		apiG: provider.NewCached(func() (interface{}, error) {
			return api.Status(vid)
		}, cache).InterfaceGetter(),
	}

	return v
}
// New creates a new BlueLink API
New creates a new BlueLink API
// New creates a new BlueLink API
func NewProvider(api *API, vid string, cache time.Duration) *Provider {
	v := &Provider{
		apiG: provider.NewCached(func() (interface{}, error) {
			return api.Status(vid)
		}, cache).InterfaceGetter(),
	}
	return v
}
func NewProvider ( api * API , vid string , cache time . Duration ) * Provider { v := & Provider { apiG : provider . NewCached ( func ( ) ( interface { } , error ) { return api . Status ( vid ) } , cache ) . InterfaceGetter ( ) , } return v }
New creates a new BlueLink API
New creates a new BlueLink API