package main
import(
"context"
"github.com/LukeHagar/plexgo"
"log"
)
func main() {
ctx := context.Background()
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
)
res, err := s.Subscriptions.ProcessSubscriptions(ctx)
if err != nil {
log.Fatal(err)
}
if res != nil {
// handle response
}
}This response does not have an example.Process all subscriptions asynchronously
package main
import(
"context"
"github.com/LukeHagar/plexgo"
"log"
)
func main() {
ctx := context.Background()
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
)
res, err := s.Subscriptions.ProcessSubscriptions(ctx)
if err != nil {
log.Fatal(err)
}
if res != nil {
// handle response
}
}This response does not have an example.Was this page helpful?