diff --git a/README.md b/README.md index 2ab61a1..0acd87d 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ `valorant.py` is an unofficial API wrapper for Riot Games' Valorant API endpoints. It's modern, easy to use, feature-rich, and intuitive! +**[\*\*]** *Just a little note, the developement of this project will slow down a bit as I enter into college and other life stuff, but rest assured I don't plan on abandoning this. Thanks for understanding!* + ## Features + **Simple:** High-level abstraction of API interactions; easy to use and easy to customize. @@ -70,4 +72,4 @@ Have a bug or issue? Need help with the API? Open an [issue](https://github.com/ ## Contributing -Head over to the [**Contributing Guide**](https://github.com/frissyn/valorant.py/blob/master/.github/CONTRIBUTING.md) page. \ No newline at end of file +Head over to the [**Contributing Guide**](https://github.com/frissyn/valorant.py/blob/master/.github/CONTRIBUTING.md) page. diff --git a/setup.py b/setup.py index 41385d6..7baf849 100644 --- a/setup.py +++ b/setup.py @@ -23,6 +23,7 @@ long_description_content_type="text/markdown", python_requires=">=3.8.0", + install_requires=["requests"] zip_safe=False, packages=["valorant", "valorant/local", "valorant/objects"], @@ -35,4 +36,4 @@ "Programming Language :: Python :: 3.9", "Topic :: Software Development" ] -) \ No newline at end of file +) diff --git a/tests/client/test_account.py b/tests/client/test_account.py index 8a002cc..3eb6df5 100644 --- a/tests/client/test_account.py +++ b/tests/client/test_account.py @@ -11,11 +11,12 @@ def test_account(self): "_7wNdRyj4cljexSBoGCESzJglohUbAM4H5kw" ) - self.assertEqual(getattr(acc, "gameName", None), "frissyn") self.assertIsInstance(acc, valorant.AccountDTO) + self.assertEqual(getattr(acc, "gameName", None), "frissyn") def test_account_by_name(self): - acc = self.client.get_user_by_name("frissyn#6969") + # Using my static alternate account. + acc = self.client.get_user_by_name("friss#sick") - self.assertEqual(getattr(acc, "gameName", None), "frissyn") self.assertIsInstance(acc, valorant.AccountDTO) + self.assertEqual(getattr(acc, "gameName", None), "friss")