{"id":2630,"date":"2026-04-11T08:33:44","date_gmt":"2026-04-11T01:33:44","guid":{"rendered":"https:\/\/www.pgtutorial.com\/postgresql-python\/"},"modified":"2026-04-11T15:31:09","modified_gmt":"2026-04-11T08:31:09","slug":"postgresql-python","status":"publish","type":"page","link":"https:\/\/www.pgtutorial.com\/postgresql-python\/","title":{"rendered":"PostgreSQL Python"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"alignright size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.pgtutorial.com\/wp-content\/uploads\/2026\/04\/postgresql-python.png\" alt=\"PostgreSQL Python\" class=\"wp-image-2635\"\/><\/figure>\n<\/div>\n\n\n<p>To connect to PostgreSQL from <a href=\"https:\/\/www.pythontutorial.net\/\" type=\"link\" id=\"https:\/\/www.pythontutorial.net\/\">Python<\/a>, you use <a href=\"https:\/\/www.psycopg.org\/psycopg3\/\" type=\"link\" id=\"https:\/\/www.psycopg.org\/psycopg3\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Psycopg 3<\/a>. Psycopg 3 is a new PostgreSQL database adapter for Python. Psycopg 3 is a complete implementation of the Python DB API 2.0 spec. Additionally, Psycopg 3 introduces new capabilities, including asynchronous support, COPY support, connection pools, and typing-related features.<\/p>\n\n\n\n<p>In this tutorial series, you will learn how to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Connect to PostgreSQL from Python using Psycopg 3<\/li>\n\n\n\n<li>Execute SQL statements<\/li>\n\n\n\n<li>Insert, retrieve, update, and delete data<\/li>\n\n\n\n<li>Manage transactions<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-psycopg3\" id='install-psycopg3'>Install psycopg3 <a href=\"#install-psycopg3\" class=\"anchor\" id=\"install-psycopg3\" title=\"Anchor for Install psycopg3\">#<\/a><\/h2>\n\n\n\n<p>Step 1. Create a new project directory and navigate to it:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"Shell Session\" data-shcb-language-slug=\"shell\"><span><code class=\"hljs language-shell\">mkdir python_postgres\ncd python-python_postgres<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Shell Session<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">shell<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Step 2. Create a virtual environment:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"Shell Session\" data-shcb-language-slug=\"shell\"><span><code class=\"hljs language-shell\">python -m venv .venv<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Shell Session<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">shell<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Step 3. Activate the virtual environment on macOS or Linux:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"Shell Session\" data-shcb-language-slug=\"shell\"><span><code class=\"hljs language-shell\">source .venv\/bin\/activate<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Shell Session<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">shell<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>on Windows:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"Shell Session\" data-shcb-language-slug=\"shell\"><span><code class=\"hljs language-shell\">.venv\/Scripts\/activate<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Shell Session<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">shell<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Step 4. Install Psycopg 3 module:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">pip install <span class=\"hljs-string\">\"psycopg&#91;binary]\"<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Note that the package name is&nbsp;<code>psycopg<\/code>&nbsp;not&nbsp;<code>psycopg3<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-a-new-database\" id='create-a-new-database'>Create a new database <a href=\"#create-a-new-database\" class=\"anchor\" id=\"create-a-new-database\" title=\"Anchor for Create a new database\">#<\/a><\/h2>\n\n\n\n<p>Step 1. Connect to the PostgreSQL server via the psql client:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"Shell Session\" data-shcb-language-slug=\"shell\"><span><code class=\"hljs language-shell\">psql -U postgres<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Shell Session<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">shell<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Step 2. Create a new database:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-7\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">CREATE<\/span> <span class=\"hljs-keyword\">DATABASE<\/span> pyinventory;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-7\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Step 3. Exit psql:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-8\" data-shcb-language-name=\"Shell Session\" data-shcb-language-slug=\"shell\"><span><code class=\"hljs language-shell\">exit<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-8\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Shell Session<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">shell<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>We&#8217;ll use the&nbsp;<code>pyinventory<\/code>&nbsp;across the tutorial series:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-python\/connect\/\" type=\"page\" id=\"2637\">Connecting to the PostgreSQL<\/a> \u2013 Learn how to create a database connection so you can start building real Python apps that work with PostgreSQL.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-tutorial\/postgresql-create-table\/\" type=\"page\" id=\"81\">Creating tables<\/a> \u2013 Learn how to <a href=\"https:\/\/www.pgtutorial.com\/postgresql-tutorial\/postgresql-create-table\/\" type=\"page\" id=\"81\">create new tables<\/a> programmatically from Python.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-python\/insert\/\" type=\"page\" id=\"2650\">Inserting data into a table<\/a> \u2013 Learn how to <a href=\"https:\/\/www.pgtutorial.com\/postgresql-tutorial\/postgresql-insert\/\" type=\"page\" id=\"94\">insert data into a table<\/a> so your app can save data effectively.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-python\/update\/\" type=\"page\" id=\"2658\">Updating data<\/a> \u2013 learn how to <a href=\"https:\/\/www.pgtutorial.com\/postgresql-tutorial\/postgresql-update\/\" type=\"page\" id=\"146\">modify data<\/a> in a table safely and efficiently.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-python\/select\/\" type=\"page\" id=\"2667\">Retrieve data from a table<\/a> \u2013 Learn how to query data from tables.<\/li>\n\n\n\n<li>Transaction \u2013 shows you how to perform transactions to keep your data accurate and reliable.<\/li>\n\n\n\n<li>Calling a PostgreSQL function \u2013 Learn how to call a PostgreSQL function to reuse business logic and simplify Python code.<\/li>\n\n\n\n<li>Calling a PostgreSQL procedure \u2013 Show you how to call a <a href=\"https:\/\/www.pgtutorial.com\/postgresql-tutorial\/postgresql-create-procedure\/\" type=\"page\" id=\"1282\">procedure<\/a> to handle more advanced database operations directly from Python.<\/li>\n\n\n\n<li>Managing PostgreSQL BLOB data in Python \u2013 Learn how to store and retrieve binary large objects (BLOBs) such as images and documents in PostgreSQL.<\/li>\n<\/ul>\n<div class=\"helpful-block-content\" data-title=\"\">\n\t<header>\n\t\t<div class=\"wth-question\">Was this tutorial helpful ?<\/div>\n\t\t<div class=\"wth-thumbs\">\n\t\t\t<button\n\t\t\t\tdata-post=\"2630\"\n\t\t\t\tdata-post-url=\"https:\/\/www.pgtutorial.com\/postgresql-python\/\"\n\t\t\t\tdata-post-title=\"PostgreSQL Python\"\n\t\t\t\tdata-response=\"1\"\n\t\t\t\tclass=\"wth-btn-rounded wth-yes-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t\tclass=\"feather feather-thumbs-up block w-full h-full\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> Yes <\/span>\n\t\t\t<\/button>\n\n\t\t\t<button\n\t\t\t\tdata-response=\"0\"\n\t\t\t\tdata-post=\"2630\"\n\t\t\t\tdata-post-url=\"https:\/\/www.pgtutorial.com\/postgresql-python\/\"\n\t\t\t\tdata-post-title=\"PostgreSQL Python\"\n\t\t\t\tclass=\"wth-btn-rounded wth-no-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> No <\/span>\n\t\t\t<\/button>\n\t\t<\/div>\n\t<\/header>\n\n\t<div class=\"wth-form hidden\">\n\t\t<div class=\"wth-form-wrapper\">\n\t\t\t<div class=\"wth-title\"><\/div>\n\t\t\t\n\t\t\t<textarea class=\"wth-message\"><\/textarea>\n\n\t\t\t<button class=\"btn btn-primary wth-btn-submit\">Send<\/button>\n\t\t\t<button class=\"btn wth-btn-cancel\">Cancel<\/button>\n\t\t\n\t\t<\/div>\n\t<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>To connect to PostgreSQL from Python, you use Psycopg 3. Psycopg 3 is a new PostgreSQL database adapter for Python. Psycopg 3 is a complete implementation of the Python DB API 2.0 spec. Additionally, Psycopg 3 introduces new capabilities, including asynchronous support, COPY support, connection pools, and typing-related features. In this tutorial series, you will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":7,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2630","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PostgreSQL Python<\/title>\n<meta name=\"description\" content=\"In this PostgreSQL Python tutorial series, you&#039;ll learn how to interact with PostgreSQL from Python using Psycopg 3.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pgtutorial.com\/postgresql-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PostgreSQL Python\" \/>\n<meta property=\"og:description\" content=\"In this PostgreSQL Python tutorial series, you&#039;ll learn how to interact with PostgreSQL from Python using Psycopg 3.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pgtutorial.com\/postgresql-python\/\" \/>\n<meta property=\"og:site_name\" content=\"PostgreSQL Tutorial\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-11T08:31:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pgtutorial.com\/wp-content\/uploads\/2026\/04\/postgresql-python.png\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-python\\\/\",\"url\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-python\\\/\",\"name\":\"PostgreSQL Python\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pgtutorial.com\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/postgresql-python.png\",\"datePublished\":\"2026-04-11T01:33:44+00:00\",\"dateModified\":\"2026-04-11T08:31:09+00:00\",\"description\":\"In this PostgreSQL Python tutorial series, you'll learn how to interact with PostgreSQL from Python using Psycopg 3.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-python\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-python\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pgtutorial.com\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/postgresql-python.png\",\"contentUrl\":\"https:\\\/\\\/www.pgtutorial.com\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/postgresql-python.png\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-python\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pgtutorial.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PostgreSQL Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/#website\",\"url\":\"https:\\\/\\\/www.pgtutorial.com\\\/\",\"name\":\"PostgreSQL Tutorial\",\"description\":\"Learn PostgreSQL from Scratch\",\"alternateName\":\"PostgreSQL\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pgtutorial.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PostgreSQL Python","description":"In this PostgreSQL Python tutorial series, you'll learn how to interact with PostgreSQL from Python using Psycopg 3.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pgtutorial.com\/postgresql-python\/","og_locale":"en_US","og_type":"article","og_title":"PostgreSQL Python","og_description":"In this PostgreSQL Python tutorial series, you'll learn how to interact with PostgreSQL from Python using Psycopg 3.","og_url":"https:\/\/www.pgtutorial.com\/postgresql-python\/","og_site_name":"PostgreSQL Tutorial","article_modified_time":"2026-04-11T08:31:09+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.pgtutorial.com\/wp-content\/uploads\/2026\/04\/postgresql-python.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pgtutorial.com\/postgresql-python\/","url":"https:\/\/www.pgtutorial.com\/postgresql-python\/","name":"PostgreSQL Python","isPartOf":{"@id":"https:\/\/www.pgtutorial.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pgtutorial.com\/postgresql-python\/#primaryimage"},"image":{"@id":"https:\/\/www.pgtutorial.com\/postgresql-python\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pgtutorial.com\/wp-content\/uploads\/2026\/04\/postgresql-python.png","datePublished":"2026-04-11T01:33:44+00:00","dateModified":"2026-04-11T08:31:09+00:00","description":"In this PostgreSQL Python tutorial series, you'll learn how to interact with PostgreSQL from Python using Psycopg 3.","breadcrumb":{"@id":"https:\/\/www.pgtutorial.com\/postgresql-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pgtutorial.com\/postgresql-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pgtutorial.com\/postgresql-python\/#primaryimage","url":"https:\/\/www.pgtutorial.com\/wp-content\/uploads\/2026\/04\/postgresql-python.png","contentUrl":"https:\/\/www.pgtutorial.com\/wp-content\/uploads\/2026\/04\/postgresql-python.png","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.pgtutorial.com\/postgresql-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pgtutorial.com\/"},{"@type":"ListItem","position":2,"name":"PostgreSQL Python"}]},{"@type":"WebSite","@id":"https:\/\/www.pgtutorial.com\/#website","url":"https:\/\/www.pgtutorial.com\/","name":"PostgreSQL Tutorial","description":"Learn PostgreSQL from Scratch","alternateName":"PostgreSQL","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pgtutorial.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/pages\/2630","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/comments?post=2630"}],"version-history":[{"count":9,"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/pages\/2630\/revisions"}],"predecessor-version":[{"id":2674,"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/pages\/2630\/revisions\/2674"}],"wp:attachment":[{"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/media?parent=2630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}