Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.
/ golem Public archive

Golem is an Wrapper for the PokeAPI V2 API

License

Notifications You must be signed in to change notification settings

FlagBrew/golem

Repository files navigation

Golem

Go Report Card GoDoc

Golem is an API wrapper library for the PokeApi V2 API, built in Golang

Notice

This was built on Linux, so knowing my luck, it probably won't behave nicely on Windows.

If you do find an issue with using it on Windows or MacOS please let me know in the issues page.

Using this library

First you'll want to do a go get

go get github.com/flagbrew/golem

Then you'll to import it into your application, once there the syntax is

golem.Get(Object)()

To see a list of available objects, you can find the documentation for the API here

Defaults

The default location for the cached data is $HomeDirectory/.golem/ you are able to change this with the SetCachePath() command

Reporting bugs

I've done my best to test everything, but of course something probably will have slipped by.

If you find any bugs with this library, please report it on the issues page.

When reporting a bug, try to be as descriptive as possible, thank you.

Copyright & trademarks

"Golem" is a Pokemon, Pokemon is owned by Gamefreak & Nintendo and licensed by Nintendo All rights for the name and any reference to Pokemon is owned by them.

I obviously don't own the rights to the name or any name in relation to Pokemon, the only thing I own is the time I put into building this API wrapper.

License

MIT License

Copyright (c) 2019 FlagBrew & Allen (FM1337/FMCore)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Golem is an Wrapper for the PokeAPI V2 API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published