whatfoodbanksneed / food_bank_api

An API that returns items needed by foodbanks near a given location
3 stars 2 forks source link

If a foodbank doesn't have a website, provide contact information #2

Open martinlugton opened 4 years ago

martinlugton commented 4 years ago

At the moment, if a foodbank doesn't have a website, it's skipped over by return_relevant_information_for_given_list_of_foodbanks in server.py.

Perhaps it might be better to return contact information for that foodbank if it's available.

martinlugton commented 4 years ago

When adding foodbanks to dictionary_of_foodbanks_and_information in for foodbank in trimmed_response_string loop in get_foodbank_details_and_write_to_file.py, use the "telephone_number" key.

martinlugton commented 4 years ago

Then update server.py to make use of this information

martinlugton commented 4 years ago

Current error for this state is "No website given by master list"