semvec/pypi-packages huggingface dataset:
RuckusVirtualSmartZoneAPIClient 0.0.1
An API Client to use the Virtual SmartZone - High Scale Public API.
License: MIT
Requires Python: >=3.4.0
Keywords: ruckus,virtual smartzone,high scale

# RuckusVirtualSmartZoneAPIClient
[Ruckus - Virtual SmartZone - High Scale Public API Reference Guide](http://docs.ruckuswireless.com/smartzone/5.2.1/vszh-public-api-reference-guide-521.html 'Ruckus - Virtual SmartZone - High Scale Public API Reference Guide')<br />

---

An API Client for the Virtual SmartZone - High Scale Public API Reference Guide to be able to easily use the API in a more standard way.

## How to install
```ignorelang
$ pip install RuckusVirtualSmartZoneAPIClient
```

## Usage
The argument 'method' must be specify every time.

#### Default arguments and attributes
```python
import RuckusVirtualSmartZoneAPIClient

client = RuckusVirtualSmartZoneAPIClient.Client(verify=False, warnings=False, api_version='v9_1')

client.get(url=None, method='', data=None, auth = None)

# client.headers
# client.base_url
# client.token
# client.auth
# client.server

```

#### Authentication
```python
import RuckusVirtualSmartZoneAPIClient

client = RuckusVirtualSmartZoneAPIClient.Client()
client.connect(url='https://localhost:8443', username='admin', password='Admin123')

client.disconnect()
```

#### The first query
```python
import RuckusVirtualSmartZoneAPIClient
import json

client = RuckusVirtualSmartZoneAPIClient.Client()
client.connect(url='https://localhost:8443', username='admin', password='Admin123')

response = client.get(method='/domains')
print(json.dumps(response.json(), indent=4))

client.disconnect()
```

#### Creating
```python
import RuckusVirtualSmartZoneAPIClient
import json

client = RuckusVirtualSmartZoneAPIClient.Client()
client.connect(url='https://localhost:8443', username='admin', password='Admin123')

response = client.post(method='/domains', data={'name': 'TestDomain'})
domain_id = response.json()['id']
print(json.dumps(response.json(), indent=4)) # --> 201

client.disconnect()
```

#### Updating
```python
import RuckusVirtualSmartZoneAPIClient
import json

client = RuckusVirtualSmartZoneAPIClient.Client()
client.connect(url='https://localhost:8443', username='admin', password='Admin123')

domain_id = '1234567890asdfg'
response = client.patch(method=f'/domains/{domain_id}', data={'description': 'I updated this description.'})
print(response.status_code) # --> 204

client.disconnect()
```

#### Deleting
```python
import RuckusVirtualSmartZoneAPIClient

client = RuckusVirtualSmartZoneAPIClient.Client()
client.connect(url='https://localhost:8443', username='admin', password='Admin123')

domain_id = '1234567890asdfg'
response = client.delete(method=f'/domains/{domain_id}')
print(response.status_code) # --> 204

client.disconnect()
```
scrapper-cf 1.0.6
This library is aimed at speeding up making of scrappers. The 'utils.py' file contains useful functions which allows users to raise alerts, get random user agents and hit URLs at random. This also reduces chances of getting blocked by the server
License: MIT
Requires Python: >3.5

This library contains many useful function which will speed up the making of scrappers. The library focusses on efforts to ensure that the scrappers don't get blocked by the servers. It has functions which:
- Returns a random user agent out of 10,000 user agents. The user agents are stored in a csv file inside the package.
- Randomly hit various URLs provided by the users
- Raise Alert in the form of e-mail and/or beeps