Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

shiimaxx/pocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pocket

Pocket API v3 Client

travis status

Installation

go get github.com/shiimaxx/pocket

Usage

  1. Create an Application

  2. Get access token

    pocket auth -c <cousumer key>
    
  3. Retrieve Sample

    client, _ := pocket.NewClient("<consumer key>", "<access token>")
    
    items, err := client.Retrieve(&pocket.RetrieveOpts{
            Count:    10,
            Favorite: false,
            Sort:     "oldest",
    })
    
    for _, item := range items.List {
            fmt.Println(item.ResolvedTitle)
            fmt.Println(item.GivenURL)
            fmt.Println(item.ItemID)
    

About

Pocket API v3 Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages