Re: Fetching API data in json format and inserting it into the django local database.

2017-06-05 Thread MOEGAMMAT FAIEEZ WHITE
On Monday, June 5, 2017 at 2:56:54 PM UTC+2, MOEGAMMAT FAIEEZ WHITE wrote: > > I want to get the values and store it. im creating a visualization web > application for a data collection application which stores the data > directly to the database. > > i am doing the application as a honours pro

Re: Fetching API data in json format and inserting it into the django local database.

2017-06-05 Thread MOEGAMMAT FAIEEZ WHITE
I want to get the values and store it. im creating a visualization web application for a data collection application which stores the data directly to the database. i am doing the application as a honours project, the data collection application is mostly used in under-served communities, and i

Re: Fetching API data in json format and inserting it into the django local database.

2017-06-05 Thread Jani Tiainen
On 05.06.2017 15:23, MOEGAMMAT FAIEEZ WHITE wrote: Hi Jani, i have direct access to the database where the form is stored. I GET the data using the imported requests e,g [r = requests.get(url, auth=HTTPBasicAuth('username', 'password'))] So your remote database contains some kind of a for

Re: Fetching API data in json format and inserting it into the django local database.

2017-06-05 Thread MOEGAMMAT FAIEEZ WHITE
Hi Jani, i have direct access to the database where the form is stored. I GET the data using the imported requests e,g [r = requests.get(url, auth=HTTPBasicAuth('username', 'password'))] so the user would have to input his/her user name and password , and the project name for which they want

Re: Fetching API data in json format and inserting it into the django local database.

2017-06-05 Thread MOEGAMMAT FAIEEZ WHITE
Hi Jani, i have direct access to the database where the form is stored. I GET the data using the imported requests e,g [r = requests.get(url, auth=HTTPBasicAuth('username', 'password'))] so the user would have to input his/her user name and password , and the project name for which they want t

Re: Fetching API data in json format and inserting it into the django local database.

2017-06-05 Thread Jani Tiainen
Hi, First you need to decide how you are going to activate fetch data from remote company database. Is it a button in user interface, django management commant or maybe timed task? Secondly you need to decide how to actually fetch that data from remote company database Through RESTful AP

Fetching API data in json format and inserting it into the django local database.

2017-06-05 Thread MOEGAMMAT FAIEEZ WHITE
Hi i am new to Django, can you please guide me as to how i can fetch data from a companies database and insert it into my database. I have been reading about models.py and serializers.py and all tutorials and readings i came accross has online shown be how to display the database data onto the