simple_pixiv

Version, currently 0.1.33 versions

github.com/MineBartekSA/simple_pixiv

(WIP) Simple wrapper library around Pixiv API for Crystal

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  simple_pixiv:
    github: MineBartekSA/simple_pixiv
    version: ~> 0.1.3

Then run:

shards install

shard.yml

Crystal
1.6.2
License
MIT
Author
Bartłomiej Skoczeń
Target
  • simple_pixiv from src/simple_pixiv.cr

Dependencies

This version declares no dependencies.

README

SimplePixiv

SimplePixiv is a simple wrapper around some of Pixiv API endpoints.

Currently, only authorization by already generated refresh_token is possible.

Inspired by:

Usage

require "simple_pixiv"

client = Pixiv::Client.new "<your refresh token>"

illustration = client.illust_detail 91822191
puts illustration.title_image

Contributing

  1. Fork it (https://github.com/your-github-user/simple_pixiv/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors