Metadata-Version: 2.1
Name: url-tricks
Version: 0.0.2
Summary: URL Manipulations that is widely used
Home-page: https://github.com/randikabanura/url_tricks
Author: Banura Randika Perera
Author-email: <randika.banura@gmail.com>
License: MIT
Keywords: python,tricks,url,string,manipulation,fun
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown


# URL Tricks (Python Package)

Tricks that can be done with urls of popular sites. Currently, under development.

## Examples of How To Use

### Google
#### Google Drive Downloadable URL

```python
# Gives a downloadable url of a shared url in Google Drive

from url_tricks import GoogleUrlTricks
gut = GoogleUrlTricks()
gut.downloadable_drive_url("https://drive.google.com/file/d/<some_code_from_google_drive>/view?usp=sharing"

```

#### Google Drive Web Viewer URL

```python
# Gives a web viewer url of a shared url in Google Drive

from url_tricks import GoogleUrlTricks
gut = GoogleUrlTricks()
gut.web_viewer_drive_url("https://drive.google.com/file/d/<some_code_from_google_drive>/view?usp=sharing"

```

#### Google Docs Previewable URL

```python
# Gives a previewable url of a shared url in Google Docs

from url_tricks import GoogleUrlTricks
gut = GoogleUrlTricks()
gut.previewable_docs_url("https://docs.google.com/document/d/<some_code_from_google_docs>/edit")

```

#### Google Docs Templatable URL

```python
# Gives a templatable url of a shared url in Google Docs

from url_tricks import GoogleUrlTricks
gut = GoogleUrlTricks()
gut.templatable_docs_url("https://docs.google.com/document/d/<some_code_from_google_docs>/edit")

```

#### Google Docs Exportable URL

```python
# Gives a exportable url of a shared url in Google Docs / Google Sheets

from url_tricks import GoogleUrlTricks
gut = GoogleUrlTricks()

# Some possible values for "export_type" is "pdf", "odt" and "docx"
# exportable_sheets_url would do the same functionality
gut.exportable_docs_url("https://docs.google.com/document/d/<some_code_from_google_docs>/edit", "odt")

```

## Developer

Name: [Banura Randika Perera](https://github.com/randikabanura) <br/>
Linkedin: [randika-banura](https://www.linkedin.com/in/randika-banura/) <br/>
Email: [randika.banura@gamil.com](mailto:randika.banura@gamil.com) <br/>
Bsc (Hons) Information Technology specialized in Software Engineering (SLIIT) <br/>

