laravel-notion-api
laravel-notion-api copied to clipboard
Feature/retrieve page property items
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
queryNamevariable 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.