laravel-notion-api icon indicating copy to clipboard operation
laravel-notion-api copied to clipboard

Feature/retrieve page property items

Open johguentner opened this issue 2 years ago • 1 comments

johguentner avatar Aug 06 '23 06:08 johguentner

PR Summary

  • Created a new file 'Page' within the Endpoints A new file that includes a 'Page' class has been added to further expand the Endpoint function. This class has a property method implemented.

  • Updated the 'getContent' method in 'Property' This update allows for the 'getContent' method to entertain a nullable 'propertyKey'. This means the 'propertyKey' can now accept or return null.

  • Adjusted the 'handle' function in 'PestHttpRecorder' The 'handle' method has been modified so it can add a prefix to the queryName variable if necessary. This can help in adding clarity and context to the variable.

  • New 'page' method added to 'Notion' We've introduced a new function termed 'page' in 'Notion'. This generates a new 'Page' instance, further extending Notion's capabilities.

  • Introduced a test file 'RecordedEndpointPageTest' We've included a new test file to verify the functionality of grabbing specific property items from a page. This ensures our operations in this regard are functioning properly.

what-the-diff[bot] avatar Aug 06 '23 06:08 what-the-diff[bot]