pokeapi-go:PokeAPI的包装; 用Go编写

时间:2021-05-06 07:28:50
【文件属性】:
文件名称:pokeapi-go:PokeAPI的包装; 用Go编写
文件大小:31KB
文件格式:ZIP
更新时间:2021-05-06 07:28:50
go golang circleci api-client pokeapi 博基皮 用Go编写的包装。 支持PokeAPI v2。 游戏类 项目 地点 机器 动作 宠物小精灵 公用事业 其他选项 资源列表参数 资源列表过滤器 快取 文献资料 完整的API文档可在Poke API中找到。 入门 go get github.com/mtslzr/pokeapi-go import "github.com/mtslzr/pokeapi-go" 终点 浆果 浆果 获取浆果 b := pokeapi . Resource ( "berry" ) 获取浆果 必须传递一个ID(例如“ 1”)或名称(例如“ cheri”)。 b := pokeapi . Berry ( "cheri" ) 浆果硬度 获取浆果硬度 b := pokeapi . Resource ( "berry-firmness" ) 获得浆果硬度 必须传递ID(例如“ 1”)或名称(例如“
【文件预览】:
pokeapi-go-master
----evolution.go(528B)
----resource.go(1KB)
----machines.go(256B)
----games.go(870B)
----contests.go(737B)
----.github()
--------workflows()
----tests()
--------resource_test.go(3KB)
--------evolution_test.go(983B)
--------machines_test.go(416B)
--------items_test.go(3KB)
--------games_test.go(2KB)
--------contests_test.go(1KB)
--------moves_test.go(3KB)
--------berries_test.go(1KB)
--------encounters_test.go(2KB)
--------utility_test.go(576B)
--------pokemon_test.go(7KB)
--------locations_test.go(2KB)
----pokemon.go(3KB)
----moves.go(2KB)
----client_test.go(2KB)
----LICENSE(1KB)
----utility.go(269B)
----structs()
--------evolution.go(4KB)
--------resource.go(356B)
--------machines.go(373B)
--------games.go(3KB)
--------contests.go(1KB)
--------pokemon.go(15KB)
--------moves.go(6KB)
--------utility.go(397B)
--------encounters.go(1KB)
--------berries.go(2KB)
--------locations.go(3KB)
--------items.go(3KB)
----client.go(824B)
----encounters.go(830B)
----.gitignore(184B)
----CHANGELOG.md(2KB)
----cache.go(785B)
----Makefile(331B)
----berries.go(684B)
----go.sum(811B)
----README.md(17KB)
----locations.go(879B)
----items.go(1KB)
----go.mod(145B)

网友评论