Skip to content

Commit

Permalink
Created using Colaboratory
Browse files Browse the repository at this point in the history
  • Loading branch information
robcerda committed Mar 16, 2024
1 parent e1a4656 commit 651497b
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions notebooks/regrid.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": [],
"authorship_tag": "ABX9TyOyrJyTwHCL/h2Jj+WAJ03p",
"include_colab_link": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/robcerda/GHunt/blob/master/notebooks/regrid.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "epGUeHwNGUd0",
"outputId": "97a6abd8-d4f9-49c5-defb-a6fa1deac126"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"{\"status\":\"error\",\"message\":\"Query execution exceeded timeout\"}\n"
]
}
],
"source": [
"import requests\n",
"\n",
"url = \"https://app.regrid.com/api/v2/parcels/query?fields[owner][ilike]=\\\"Yujia Real Estate\\\"&token=1SnpL7AQekjA4mH2vqUmkGm9AAfQxi_6mxwdm4qDzo_C-xSTx9z3pd9rTsRWDWV4\"\n",
"\n",
"payload = {}\n",
"response = requests.request(\"GET\", url, data=payload)\n",
"\n",
"print(response.text)\n"
]
}
]
}

0 comments on commit 651497b

Please sign in to comment.