pyscord-storage


Namepyscord-storage JSON
Version 2.0.3 PyPI version JSON
download
home_pagehttps://discord-storage.animemoe.us/
SummaryFree unlimited file hosting using the Discord server
upload_time2023-03-28 15:38:14
maintainer
docs_urlNone
authorArter Tendean
requires_python>=3.8,<4.0
licenseMIT
keywords discord unlimited storage django
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyscord-storage

Free unlimited file hosting using Discord server

---

## API

- [Upload From URL](https://discord-storage.animemoe.us/api/upload-from-url/)
- [Upload From File](https://discord-storage.animemoe.us/api/upload-from-file/)

---

## Usage

```python
import pyscord_storage

result = pyscord_storage.upload_from_file("path/to/your.file")

print(result)
```

```python
import pyscord_storage

result = pyscord_storage.upload_from_url("waifu.jpg','https://github.com/animemoeus/pyscord-storage/raw/master/tests/temp/takagi.png")

print(result)
```

---

## About

- [Server Status](https://stats.uptimerobot.com/GKy6liBGw7/788953682)
- Max upload size limit is 8MB. [Click here for detail](https://support.discord.com/hc/en-us/community/posts/360031101592-Increase-max-file-size-for-free-accounts).
- media.discordapp.net & cdn.discordapp.com. [Click here for detail](https://www.reddit.com/r/discordapp/comments/e8lgj2/mediadiscordappnet_cdndiscordappcom/).
- proxy_url. [Click here for detail](https://www.reddit.com/r/discordapp/comments/f1ixly/.discord_adding_lower_width_and_height_to_linked/).
- How long my Discord file link will work? [Click here for detail](https://support.discord.com/hc/en-us/community/posts/360061593771-Privacy-for-CDN-attachements).

---

## Increase Upload Limit

- I don't know if this will work, but I think if the server gets a boost, we can increase the upload limit up to 50 MB or 100MB.
- [https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-FAQ-](https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-FAQ-)
- Discord Server [https://discord.gg/kZuWeKzgkq](https://discord.gg/kZuWeKzgkq)

### Example Implementation

- <https://api.animemoe.us/waifu/>
- <https://waifu.animemoe.us/>

            

Raw data

            {
    "_id": null,
    "home_page": "https://discord-storage.animemoe.us/",
    "name": "pyscord-storage",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "discord,unlimited,storage,django",
    "author": "Arter Tendean",
    "author_email": "arter.tendean.07@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/2e/b5/459f1cae7f389c632481e2c998e41ec3c5675f9773ff3e68620cc077907c/pyscord_storage-2.0.3.tar.gz",
    "platform": null,
    "description": "# pyscord-storage\n\nFree unlimited file hosting using Discord server\n\n---\n\n## API\n\n- [Upload From URL](https://discord-storage.animemoe.us/api/upload-from-url/)\n- [Upload From File](https://discord-storage.animemoe.us/api/upload-from-file/)\n\n---\n\n## Usage\n\n```python\nimport pyscord_storage\n\nresult = pyscord_storage.upload_from_file(\"path/to/your.file\")\n\nprint(result)\n```\n\n```python\nimport pyscord_storage\n\nresult = pyscord_storage.upload_from_url(\"waifu.jpg','https://github.com/animemoeus/pyscord-storage/raw/master/tests/temp/takagi.png\")\n\nprint(result)\n```\n\n---\n\n## About\n\n- [Server Status](https://stats.uptimerobot.com/GKy6liBGw7/788953682)\n- Max upload size limit is 8MB. [Click here for detail](https://support.discord.com/hc/en-us/community/posts/360031101592-Increase-max-file-size-for-free-accounts).\n- media.discordapp.net & cdn.discordapp.com. [Click here for detail](https://www.reddit.com/r/discordapp/comments/e8lgj2/mediadiscordappnet_cdndiscordappcom/).\n- proxy_url. [Click here for detail](https://www.reddit.com/r/discordapp/comments/f1ixly/.discord_adding_lower_width_and_height_to_linked/).\n- How long my Discord file link will work? [Click here for detail](https://support.discord.com/hc/en-us/community/posts/360061593771-Privacy-for-CDN-attachements).\n\n---\n\n## Increase Upload Limit\n\n- I don't know if this will work, but I think if the server gets a boost, we can increase the upload limit up to 50 MB or 100MB.\n- [https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-FAQ-](https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-FAQ-)\n- Discord Server [https://discord.gg/kZuWeKzgkq](https://discord.gg/kZuWeKzgkq)\n\n### Example Implementation\n\n- <https://api.animemoe.us/waifu/>\n- <https://waifu.animemoe.us/>\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Free unlimited file hosting using the Discord server",
    "version": "2.0.3",
    "split_keywords": [
        "discord",
        "unlimited",
        "storage",
        "django"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1a33126d1445c1295ec73c52611a0f7a8f153e6c454ae4958ca4e72352f6a4a9",
                "md5": "6d4d1a802a56b8ea069e5e164e9e37aa",
                "sha256": "d9edecd358d9f4a0bcc8b806c47dec4eb4ead7add24f69af430076999fa64c48"
            },
            "downloads": -1,
            "filename": "pyscord_storage-2.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6d4d1a802a56b8ea069e5e164e9e37aa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 3241,
            "upload_time": "2023-03-28T15:38:13",
            "upload_time_iso_8601": "2023-03-28T15:38:13.494935Z",
            "url": "https://files.pythonhosted.org/packages/1a/33/126d1445c1295ec73c52611a0f7a8f153e6c454ae4958ca4e72352f6a4a9/pyscord_storage-2.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2eb5459f1cae7f389c632481e2c998e41ec3c5675f9773ff3e68620cc077907c",
                "md5": "421a199dd1a4c9f92198553f8de75f7a",
                "sha256": "0acc7698cd19b1100a85a4cde4b98e37d5b7709c43d60534d016629e934bcdf8"
            },
            "downloads": -1,
            "filename": "pyscord_storage-2.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "421a199dd1a4c9f92198553f8de75f7a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 2778,
            "upload_time": "2023-03-28T15:38:14",
            "upload_time_iso_8601": "2023-03-28T15:38:14.999373Z",
            "url": "https://files.pythonhosted.org/packages/2e/b5/459f1cae7f389c632481e2c998e41ec3c5675f9773ff3e68620cc077907c/pyscord_storage-2.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-28 15:38:14",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "pyscord-storage"
}
        
Elapsed time: 0.43041s