Skip to content

Commit 583686a

Browse files
committed
basic auto documentation working
1 parent 3cb742a commit 583686a

File tree

1 file changed

+47
-8
lines changed

1 file changed

+47
-8
lines changed

docs/source/index.rst

Lines changed: 47 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,57 @@
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.
55
6-
Welcome to serapi-python's documentation!
7-
=========================================
6+
**serpapi-python**
7+
==================
8+
9+
an official Python client library for `SerpApi <https://serpapi.com>`_.
10+
11+
--------------
12+
13+
Getting Started
14+
===============
15+
16+
This part of the documentation covers installation of `serpapi-python` and a quick tutorial to get you started.
17+
18+
If you are looking for reference material, please see the :ref:`API Reference <api-reference>`.
19+
20+
21+
Installation
22+
------------
23+
24+
To install ``serpapi-python``, simply use `pip`::
25+
26+
$ pip install serpapi
827

9-
.. automodule:: serpapi
10-
:members: serpapi
11-
.. automodule:: serpapi.serpapi
28+
29+
Please note that Python 3.6+ is required.
30+
31+
API Reference
32+
=============
33+
34+
.. _api-reference:
35+
36+
This part of the documentation covers all the interfaces of :class:`serpapi` Python module.
37+
38+
.. module:: serpapi
39+
:platform: Unix, Windows
40+
:synopsis: SerpApi Python Library
41+
42+
Primary interface
43+
-----------------
44+
45+
The primary interface to `serpapi-python` is through the :class:`serpapi.Client` class.
46+
47+
.. autoclass:: serpapi.Client
1248
:members:
13-
.. toctree::
14-
:maxdepth: 2
15-
:caption: Contents:
49+
50+
51+
1652

53+
Exceptions
54+
----------
1755

56+
.. autoexception:: serpapi.SerpApiException
1857

1958
Indices and tables
2059
==================

0 commit comments

Comments
 (0)