Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nmsderp authored Aug 3, 2024
1 parent bc5e193 commit eb58d20
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta"

[project]
name = "snailpy"
version = "1.0.9"
version = "1.1.0"
dependencies = [
"requests",
]
requires-python = ">=3.7"
requires-python = ">=3.8"
authors = [
{name = "Nolan Simpson", email = "[email protected]"},
]
Expand Down
3 changes: 2 additions & 1 deletion snailpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

from .snailpy import *

print('You are successfully using SnailPy v1.0.9!')
print('You are successfully using SnailPy v1.1.0!')
print('Anything made with 1.0.9 or under will most likely be broken due to server changes and the data loss.')
5 changes: 4 additions & 1 deletion snailpy/snailpy.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import requests

api_url = 'https://snailshare.xyz'
v = "1.1.0"
api_url = 'https://snailshare.dreamhosters.com'

def customAPI(url):
global api_url
Expand Down Expand Up @@ -66,3 +67,5 @@ def id_to_owner(args):
except Exception as e:
print(f"An error occurred: {e}")
return ""
def version():
print(v)

0 comments on commit eb58d20

Please sign in to comment.