nexttoken 0.3.1__tar.gz → 0.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nexttoken
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: NextToken SDK - Simple client for the NextToken APIs and Gateway
5
5
  Project-URL: Homepage, https://nexttoken.co
6
6
  Project-URL: Documentation, https://docs.nexttoken.co
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "nexttoken"
7
- version = "0.3.1"
7
+ version = "0.3.2"
8
8
  description = "NextToken SDK - Simple client for the NextToken APIs and Gateway"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -53,6 +53,18 @@ class Integrations:
53
53
  data = self._request("GET", "/integrations")
54
54
  return data.get("data", {}).get("integrations", [])
55
55
 
56
+ def search(self, query: str) -> List[Dict[str, Any]]:
57
+ """Search for available integrations by name or category.
58
+
59
+ Args:
60
+ query: Search query (e.g., "email", "crm", "slack").
61
+
62
+ Returns:
63
+ List of matching app objects with slug, name, description, logo_url.
64
+ """
65
+ data = self._request("GET", f"/integrations/search?q={query}")
66
+ return data.get("data", {}).get("apps", [])
67
+
56
68
  def list_actions(self, app: str) -> List[Dict[str, Any]]:
57
69
  """List available actions for a connected app.
58
70
 
File without changes
File without changes