sejmapi


Namesejmapi JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/KomarJazdek/Your-First-Python-Package-on-PyPI
Summary
upload_time2023-07-10 20:32:23
maintainer
docs_urlNone
authorMichal Salamon
requires_python
license
keywords api sejm government
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # SejmAPI
Python module to work with polish goverment-run Sejm API
https://api.sejm.gov.pl/

# Short overview
```python
sejm = SejmApi(term=9) #creating SejmApi class object and selecting the term(in this case 9)
```
View list of all MPs
```python
sejm.get_all_MP()
```
Get some details on the MP 
```python
sejm.get_MP_info(leg=1) #leg is the legitimation id
```
Get link to the MP's photo
```python
sejm.getPhoto(leg=1)
```
Get list of clubs
```python
sejm.getClubs()
```
Get info about the club
```python
sejm.getClub_info(id='PiS') #id is the name of the club
```
Get a link to the logo of the club
```python
sejm.getClublogo(id='PiS')
```
Get the list of the committees
```python
 sejm.getCommittees()
```
Get a list of the streams from Sejm
```python
sejm.getStreams()
```
Get streams from today
```python
sejm.getTodayStreams()
```
Get info about a term
```python
sejm.getTermInfo()
```
Get all the prints of the term
```python
sejm.getPrints()
```
Get the print details
```python
sejm.getPrint_info(nr=1) #nr is the nr. of the print
```
Get the link to the attachment to the print
```python
sejm.getPrint_attachment(nr=1,fileName='1.pdf')
``` 


# CHANGELOG

## Version 0.0.1 07/10/2023
1. Added almost all functionalities



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/KomarJazdek/Your-First-Python-Package-on-PyPI",
    "name": "sejmapi",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "API,Sejm,Government",
    "author": "Michal Salamon",
    "author_email": "komarjazdek23@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b6/f0/221d1b36e3f42d011704d2b9d0f89039cd95e531887c6e04f87c76b8d21e/sejmapi-0.1.0.tar.gz",
    "platform": null,
    "description": "# SejmAPI\nPython module to work with polish goverment-run Sejm API\nhttps://api.sejm.gov.pl/\n\n# Short overview\n```python\nsejm = SejmApi(term=9) #creating SejmApi class object and selecting the term(in this case 9)\n```\nView list of all MPs\n```python\nsejm.get_all_MP()\n```\nGet some details on the MP \n```python\nsejm.get_MP_info(leg=1) #leg is the legitimation id\n```\nGet link to the MP's photo\n```python\nsejm.getPhoto(leg=1)\n```\nGet list of clubs\n```python\nsejm.getClubs()\n```\nGet info about the club\n```python\nsejm.getClub_info(id='PiS') #id is the name of the club\n```\nGet a link to the logo of the club\n```python\nsejm.getClublogo(id='PiS')\n```\nGet the list of the committees\n```python\n sejm.getCommittees()\n```\nGet a list of the streams from Sejm\n```python\nsejm.getStreams()\n```\nGet streams from today\n```python\nsejm.getTodayStreams()\n```\nGet info about a term\n```python\nsejm.getTermInfo()\n```\nGet all the prints of the term\n```python\nsejm.getPrints()\n```\nGet the print details\n```python\nsejm.getPrint_info(nr=1) #nr is the nr. of the print\n```\nGet the link to the attachment to the print\n```python\nsejm.getPrint_attachment(nr=1,fileName='1.pdf')\n``` \n\n\n# CHANGELOG\n\n## Version 0.0.1 07/10/2023\n1. Added almost all functionalities\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/KomarJazdek/Your-First-Python-Package-on-PyPI"
    },
    "split_keywords": [
        "api",
        "sejm",
        "government"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eb356677e9e7c1b828fc7e37ff3f77bfc026e95db54957900ad96cddd072b49f",
                "md5": "c3c3c0b7ae110c6b161f637c204d3c74",
                "sha256": "0ec4a5fffc0464d14ba2a8c5a1786e1f69a14034cdd9a2b436db70026df4d021"
            },
            "downloads": -1,
            "filename": "sejmapi-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c3c3c0b7ae110c6b161f637c204d3c74",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3290,
            "upload_time": "2023-07-10T20:32:21",
            "upload_time_iso_8601": "2023-07-10T20:32:21.322405Z",
            "url": "https://files.pythonhosted.org/packages/eb/35/6677e9e7c1b828fc7e37ff3f77bfc026e95db54957900ad96cddd072b49f/sejmapi-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b6f0221d1b36e3f42d011704d2b9d0f89039cd95e531887c6e04f87c76b8d21e",
                "md5": "061bced96fa618698ffd06d8de8b387a",
                "sha256": "48548d61fb386b4cfa425e722b23177bf1ba9c6ba3bdcc4a8cc2000bd8f17bf7"
            },
            "downloads": -1,
            "filename": "sejmapi-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "061bced96fa618698ffd06d8de8b387a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2901,
            "upload_time": "2023-07-10T20:32:23",
            "upload_time_iso_8601": "2023-07-10T20:32:23.230839Z",
            "url": "https://files.pythonhosted.org/packages/b6/f0/221d1b36e3f42d011704d2b9d0f89039cd95e531887c6e04f87c76b8d21e/sejmapi-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-10 20:32:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "KomarJazdek",
    "github_project": "Your-First-Python-Package-on-PyPI",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "sejmapi"
}
        
Elapsed time: 0.08478s