func (v Places) Checkin(params PlacesCheckinParams) (*PlacesCheckinResponse, error) {
	r, err := v.API.Request("places.checkin", params)
	if err != nil {
		return nil, err
	}
	var resp PlacesCheckinResponse
	err = json.Unmarshal(r, &resp)
	if err != nil {
		return nil, err
	}
	return &resp, nil
}
Checkin Checks a user in at the specified location.
package vkapi
import (
	"encoding/json"
	"github.com/stek29/vk"
)
type Places struct {
	API vk.API
}
type PlacesAddParams struct {
	Type int `url:"type,omitempty"`
	Title string `url:"title"`
	Latitude float32 `url:"latitude"`
	Longitude float32 `url:"longitude"`
	Country int `url:"country,omitempty"`
	City int `url:"city,omitempty"`
	Address string `url:"address,omitempty"`
}
type PlacesAddResponse struct {
	ID int `json:"id,omitempty"`
}
func (v Places) Add(params PlacesAddParams) (*PlacesAddResponse, error) {
	r, err := v.API.Request("places.add", params)
	if err != nil {
		return nil, err
	}
	var resp PlacesAddResponse
	err = json.Unmarshal(r, &resp)
	if err != nil {
		return nil, err
	}
	return &resp, nil
}
type PlacesGetByIDParams struct {
	Places CSVIntSlice `url:"places"`
}
type PlacesGetByIDResponse []vk.Place
func (v Places) GetByID(params PlacesGetByIDParams) (PlacesGetByIDResponse, error) {
	r, err := v.API.Request("places.getById", params)
	if err != nil {
		return nil, err
	}
	var resp PlacesGetByIDResponse
	err = json.Unmarshal(r, &resp)
	if err != nil {
		return nil, err
	}
	return resp, nil
}
type PlacesSearchParams struct {
	Q string `url:"q,omitempty"`
	City int `url:"city,omitempty"`
	Latitude float32 `url:"latitude"`
	Longitude float32 `url:"longitude"`
	Radius int `url:"radius,omitempty"`
	Offset int `url:"offset,omitempty"`
	Count int `url:"count,omitempty"`
}
type PlacesSearchResponse struct {
	Count int        `json:"count,omitempty"`
	Items []vk.Place `json:"items,omitempty"`
}
func (v Places) Search(params PlacesSearchParams) (*PlacesSearchResponse, error) {
	r, err := v.API.Request("places.search", params)
	if err != nil {
		return nil, err
	}
	var resp PlacesSearchResponse
	err = json.Unmarshal(r, &resp)
	if err != nil {
		return nil, err
	}
	return &resp, nil
}
type PlacesCheckinParams struct {
	PlaceID int `url:"place_id,omitempty"`
	Text string `url:"text,omitempty"`
	Latitude float32 `url:"latitude,omitempty"`
	Longitude float32 `url:"longitude,omitempty"`
	FriendsOnly bool `url:"friends_only,omitempty"`
	Services CSVStringSlice `url:"services,omitempty"`
}
type PlacesCheckinResponse struct {
	ID int `json:"id,omitempty"`
}