An open API service indexing awesome lists of open source software.

https://github.com/turbot/steampipe-plugin-pokemon

Use SQL to instantly query Pokémon, items, moves, and more from PokéAPI. Open source CLI. No DB required.
https://github.com/turbot/steampipe-plugin-pokemon

hacktoberfest pokeapi pokemon postgresql postgresql-fdw sql steampipe steampipe-plugin

Last synced: 5 months ago
JSON representation

Use SQL to instantly query Pokémon, items, moves, and more from PokéAPI. Open source CLI. No DB required.

Awesome Lists containing this project

README

          

![image](https://hub.steampipe.io/images/plugins/turbot/pokemon-social-graphic.png)

# Pokemon Plugin for Steampipe

Use SQL to query infrastructure including servers, networks, identity and more from Pokemon.

- **[Get started →](https://hub.steampipe.io/plugins/turbot/pokemon)**
- Documentation: [Table definitions & examples](https://hub.steampipe.io/plugins/turbot/pokemon/tables)
- Community: [Slack Channel](https://join.slack.com/t/steampipe/shared_invite/zt-oij778tv-lYyRTWOTMQYBVAbtPSWs3g)
- Get involved: [Issues](https://github.com/turbot/steampipe-plugin-pokemon/issues)

## Quick start

Install the plugin with [Steampipe](https://steampipe.io):

```shell
steampipe plugin install pokemon
```

Run a query:

```sql
select name, id from pokemon_pokemon
```

## Developing

Prerequisites:

- [Steampipe](https://steampipe.io/downloads)
- [Golang](https://golang.org/doc/install)

Clone:

```sh
git clone https://github.com/turbot/steampipe-plugin-pokemon.git
cd steampipe-plugin-pokemon
```

Build, which automatically installs the new version to your `~/.steampipe/plugins` directory:

```
make
```

Configure the plugin:

```
cp config/* ~/.steampipe/config
vi ~/.steampipe/config/pokemon.spc
```

Try it!

```
steampipe query
> .inspect pokemon
```

Further reading:

- [Writing plugins](https://steampipe.io/docs/develop/writing-plugins)
- [Writing your first table](https://steampipe.io/docs/develop/writing-your-first-table)

## Contributing

Please see the [contribution guidelines](https://github.com/turbot/steampipe/blob/main/CONTRIBUTING.md) and our [code of conduct](https://github.com/turbot/steampipe/blob/main/CODE_OF_CONDUCT.md). All contributions are subject to the [Apache 2.0 open source license](https://github.com/turbot/steampipe-plugin-pokemon/blob/main/LICENSE).

`help wanted` issues:

- [Steampipe](https://github.com/turbot/steampipe/labels/help%20wanted)
- [Pokemon Plugin](https://github.com/turbot/steampipe-plugin-pokemon/labels/help%20wanted)