Skip to content

Commit ebf2ea1

Browse files
committed
Bump version 0.6: Show results in panels... like on searchcode.com :)
1 parent 77aece4 commit ebf2ea1

1 file changed

Lines changed: 0 additions & 33 deletions

File tree

README.md

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -162,39 +162,6 @@ pprint(search)
162162
163163
> To fetch all results for a given query, keep incrementing `page` parameter until you get a page with an empty results
164164
> list.
165-
---
166-
167-
### Response Attribute Definitions
168-
169-
| Attribute | Description |
170-
|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
171-
| **searchterm** | Search term supplied to the API through the use of the `q` parameter. |
172-
| **query** | Identical to `searchterm` and included for historical reasons to maintain backward compatibility. |
173-
| **matchterm** | Identical to `searchterm` and included for historical reasons to maintain backward compatibility. |
174-
| **page** | ID of the current page that the query has returned. This is a zero-based index. |
175-
| **nextpage** | ID of the offset of the next page. Always set to the current page + 1, even if you have reached the end of the results. This is a zero-based index. |
176-
| **previouspage** | ID of the offset of the previous page. If no previous page is available, it will be set to `null`. This is a zero-based index. |
177-
| **total** | The total number of results that match the `searchterm` in the index. Note that this value is approximate. It becomes more accurate as you go deeper into the results or use more filters. |
178-
| **language_filters** | Returns an array containing languages that exist in the result set. |
179-
| **id** | Unique ID for this language used by searchcode, which can be used in other API calls. |
180-
| **count** | Total number of results that are written in this language. |
181-
| **language** | The name of this language. |
182-
| **source_filters** | Returns an array containing sources that exist in the result set. |
183-
| **id** | Unique ID for this source used by searchcode, which can be used in other API calls. |
184-
| **count** | Total number of results that belong to this source. |
185-
| **source** | The name of this source. |
186-
| **results** | Returns an array containing the matching code results. |
187-
| **id** | Unique ID for this code result used by searchcode, which can be used in other API calls. |
188-
| **filename** | The filename for this file. |
189-
| **repo** | HTML link to the location of the repository where this code was found. |
190-
| **linescount** | Total number of lines in the matching file. |
191-
| **location** | Location inside the repository where this file exists. |
192-
| **name** | Name of the repository that this file belongs to. |
193-
| **language** | The identified language of this result. |
194-
| **url** | URL to searchcode's location of the file. |
195-
| **md5hash** | Calculated MD5 hash of the file's contents. |
196-
| **lines** | Contains line numbers and lines which match the `searchterm`. Lines immediately before and after the match are included. If only the filename matches, up to the first 15 lines of the file are returned. |
197-
198165
___
199166

200167
### Code Result

0 commit comments

Comments
 (0)