Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Commit

Permalink
Release Version 2.0.0 (#15)
Browse files Browse the repository at this point in the history
* Release Version 2.0.0

* docs: slight fix formatting
  • Loading branch information
naveen521kk authored Oct 16, 2020
1 parent 38dc56a commit ca393d6
Show file tree
Hide file tree
Showing 8 changed files with 238 additions and 201 deletions.
7 changes: 6 additions & 1 deletion docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
Changelog
*********

sxcu-v1.0.2
sxcu-v2.0.1
===========

[TOB]

sxcu-v2.0.0
===========

* Introduced a logger class so that users can know what
Expand Down
30 changes: 30 additions & 0 deletions docs/source/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,33 @@ Using the class
.. autosummary::

~og_properties

A small example using this can be

.. code-block:: python
import sxcu
connector = sxcu.SXCU()
props = sxcu.og_properties(color="#000",description="some random post",title="I love SXCU")
result = connector.upload_image("foo.png")
print(result["url"])
Creating a Short Link
*********************

The reference for it is

.. autosummary::

~SXCU.create_link

A small example illustrating it can be.

.. code-block:: python
import sxcu
connector = sxcu.SXCU()
result = connector.create_link("https://sxcu.syrusdark.website")
print(result["url"])
should print a shortened URL.
Loading

0 comments on commit ca393d6

Please sign in to comment.