Metadata-Version: 2.1
Name: nicovideo-api-client
Version: 0.0.8
Summary: ニコニコ動画 スナップショット検索APIv2の Python クライアント
Home-page: https://github.com/Javakky/NicoApiClient
Author: Javakky
Author-email: iemura.java@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: alabaster (==0.7.12)
Requires-Dist: attrs (==21.2.0)
Requires-Dist: Babel (==2.9.1)
Requires-Dist: certifi (==2021.5.30)
Requires-Dist: charset-normalizer (==2.0.6)
Requires-Dist: docutils (==0.17.1)
Requires-Dist: idna (==3.2)
Requires-Dist: imagesize (==1.2.0)
Requires-Dist: iniconfig (==1.1.1)
Requires-Dist: Jinja2 (==3.0.1)
Requires-Dist: MarkupSafe (==2.0.1)
Requires-Dist: packaging (==21.0)
Requires-Dist: pluggy (==1.0.0)
Requires-Dist: py (==1.10.0)
Requires-Dist: Pygments (==2.10.0)
Requires-Dist: pyparsing (==2.4.7)
Requires-Dist: pytest (==6.2.5)
Requires-Dist: pytz (==2021.1)
Requires-Dist: requests (==2.26.0)
Requires-Dist: snowballstemmer (==2.1.0)
Requires-Dist: Sphinx (==4.2.0)
Requires-Dist: sphinx-rtd-theme (==1.0.0)
Requires-Dist: sphinxcontrib-applehelp (==1.0.2)
Requires-Dist: sphinxcontrib-devhelp (==1.0.2)
Requires-Dist: sphinxcontrib-htmlhelp (==2.0.0)
Requires-Dist: sphinxcontrib-jsmath (==1.0.1)
Requires-Dist: sphinxcontrib-qthelp (==1.0.3)
Requires-Dist: sphinxcontrib-serializinghtml (==1.1.5)
Requires-Dist: toml (==0.10.2)
Requires-Dist: urllib3 (==1.26.6)

NicoApiClient
=============

概要
----

`ニコニコ動画 『スナップショット検索API
v2』 <https://site.nicovideo.jp/search-api-docs/snapshot>`__ などの API
について、仕様をなるべく意識せずに利用できるクライアントを提供する。

install
-------

PyPIリポジトリ: https://pypi.org/project/nicovideo-api-client/

.. code:: shell

   pip install nicovideo-api-client

installed
~~~~~~~~~

|Downloads| |image1| |image2|

documentation
~~~~~~~~~~~~~

`NicoApiClient
コードドキュメント <https://javakky.github.io/NicoApiClientDocs/>`__

example
-------

.. code:: python

   from nicovideo_api_client.api.v2.snapshot_search_api_v2 import SnapshotSearchAPIV2
   from nicovideo_api_client.constants import FieldType

   json = SnapshotSearchAPIV2() \
       .tags_exact() \
       .query("VOCALOID") \
       .field({FieldType.TITLE, FieldType.CONTENT_ID}) \
       .sort(FieldType.VIEW_COUNTER) \
       .simple_filter().filter() \
       .limit(100) \
       .request() \
       .json()

利用規約
--------

https://site.nicovideo.jp/search-api-docs/snapshot#api%E5%88%A9%E7%94%A8%E8%A6%8F%E7%B4%84

.. |Downloads| image:: https://pepy.tech/badge/nicovideo-api-client
   :target: https://pepy.tech/project/nicovideo-api-client
.. |image1| image:: https://pepy.tech/badge/nicovideo-api-client/month
   :target: https://pepy.tech/project/nicovideo-api-client
.. |image2| image:: https://pepy.tech/badge/nicovideo-api-client/week
   :target: https://pepy.tech/project/nicovideo-api-client


