Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppe99barchetta authored Jun 13, 2024
1 parent e8e84f7 commit b7b4166
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
---
Installation via pip:
```
>>> pip install pypartpicker
>>> pip install pypartpicker2
```
Or clone the repo directly:
```
>>> git clone https://github.com/thefakequake/pypartpicker.git
>>> git clone https://github.com/giuseppe99barchetta/pypartpicker2.git
```
# Example programs

---

Here is a program that searches for i7's, prints every result, then gets the first result and prints its specs:
```python
from pypartpicker import Scraper
from pypartpicker2 import Scraper

# creates the scraper object
pcpp = Scraper()
Expand All @@ -48,7 +48,7 @@ print(product.specs)
```
Here is another program that finds i3s that are cheaper than or equal to £110, prints their specs and then prints the first review:
```python
from pypartpicker import Scraper
from pypartpicker2 import Scraper
from time import sleep

# returns a list of Part objects we can iterate through
Expand Down Expand Up @@ -244,4 +244,4 @@ ___
- `wattage` - The estimated wattage for the parts in the list
- `total` - The total price of the PCPartPicker list
- `url` - The URL of the PCPartPicker list
- `compatibility` - A list containing the compatibility notes for the parts list
- `compatibility` - A list containing the compatibility notes for the parts list

0 comments on commit b7b4166

Please sign in to comment.