gtnd

package module
v0.0.0-...-122ad91 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2015 License: MIT Imports: 7 Imported by: 0

README

gtnd

ATND API for go

Documentation

Index

Constants

View Source
const (
	URL = "http://api.atnd.org/events/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SearchParam

type SearchParam struct {
	Keyword string
	Format  string
}

type SearchResult

type SearchResult struct {
	Events []struct {
		Event struct {
			Accepted       int    `json:"accepted"`
			Address        string `json:"address"`
			Catch          string `json:"catch"`
			Description    string `json:"description"`
			EndedAt        string `json:"ended_at"`
			EventID        int    `json:"event_id"`
			EventURL       string `json:"event_url"`
			Lat            string `json:"lat"`
			Limit          int    `json:"limit"`
			Lon            string `json:"lon"`
			OwnerID        int    `json:"owner_id"`
			OwnerNickname  string `json:"owner_nickname"`
			OwnerTwitterID string `json:"owner_twitter_id"`
			Place          string `json:"place"`
			StartedAt      string `json:"started_at"`
			Title          string `json:"title"`
			UpdatedAt      string `json:"updated_at"`
			URL            string `json:"url"`
			Waiting        int    `json:"waiting"`
		} `json:"event"`
	} `json:"events"`
	ResultsReturned int `json:"results_returned"`
	ResultsStart    int `json:"results_start"`
}
func Search(parameter SearchParam) (*SearchResult, error)

Directories

Path Synopsis
Godeps
_workspace/src/github.com/google/go-querystring/query
Package query implements encoding of structs into URL query parameters.
Package query implements encoding of structs into URL query parameters.

Jump to

Keyboard shortcuts

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