Coder Social home page Coder Social logo

pyzoopla's People

Contributors

chasnelson1990 avatar dependabot[bot] avatar imrankhan17 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

pyzoopla's Issues

no ids being returned with results.all_properties(page_start, page_end)

Receive the following output when running this code:

from pyzoopla.prices import PricesSearch

results = PricesSearch(location='bs')
print(results)
print(results.assumed_search_location)
print(results.market_activity(period=1, ))
print(results.total_pages)
print(results.total_properties)
print(results.all_properties(page_start=1, page_end=4))

output

https://www.zoopla.co.uk/house-prices/bs/
BS
{'period': 1, 'property_type': 'all', 'average_price': 340603, 'num_sales': 7204, 'average_value': 334743, 'value_change': 27535}
10935
437387
[]

all_properties has no parameter called "page_limit"

TypeError: all_properties() got an unexpected keyword argument 'page_limit'

Opening your file shows the following:

def all_properties(self, page_start=None, page_end=None):
    """
    List of all property ID's for specified location.
    :param page_start: page no. to start scraping from
    :param page_end: page no. to scrape till
    :return: list of ID's
    """

    page_start = page_start if page_start else 1
    page_end = page_end if page_end else self.total_pages + 1

    if page_end == 1:.....

But your example states:
"results.all_properties(page_limit=1)"

SEARCHING your code for page_limit yields nothing.

Further, I'm able to retrieve aggregate detail such as this:

results.market_activity()
{'period': 20, 'property_type': 'all', 'average_price': 217189, 'num_sales': 323350, 'average_value': 334743, 'value_change': 224485}

But the results.all_properties consistently returns an empty string (even if I specify appropriate start and end pages- which look like the only two arguments permissible:

results.all_properties(1,4)
[]

Will raise as separate issue//////

Issue with Missing "requirements.txt" in pyzoopla

I encountered an installation error while trying to install the "pyzoopla" package using pip. The error message indicates that the build process is failing due to a missing "requirements.txt" file. Here's the error message:

FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'

It seems that the package lacks this essential file, which is used to specify build dependencies. Could you please add a "requirements.txt" file or provide guidance on how to successfully install the package? Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.