Thursday, 12 August 2021

Get real time data to django models from a external webpage

I have a Django app and some of the models I want to get data in real-time from external sources.

class Register(models.Model):
   student_id=models.IntegerField() 
   temperature=models.TextField(max_length=300)

The data I want this model to hold can only be accessed from another website. I have tried to create a web scrapy to get real-time data but it is not efficient. If there is an efficient way to handle this let me.



from Get real time data to django models from a external webpage

No comments:

Post a Comment